diff options
| author | Charles Chen <charlesccchen@google.com> | 2022-03-23 09:26:32 +0000 |
|---|---|---|
| committer | Charles Chen <charlesccchen@google.com> | 2022-03-25 14:58:48 +0800 |
| commit | 25704b6ac311b184e38b3d434f99e4ffca14065b (patch) | |
| tree | b354d2460d8093271551cb101f082b13754ede68 /core/java/android/util/SparseSetArray.java | |
| parent | ad7242029dd12c9a280ef42a9fbf9129502cc425 (diff) | |
Fix VirtualDisplayTest failures
The failures are due to legacy behaviors in the test, which includes:
1. Use Toast without managed token
2. Show presentation on the default display
Currently, we need a managed window token for toast, and also the
display to show preentation should be a presentation display.
A built-in display isn't a presentation display by default.
In this CL, we
1. Use the default window type for Presentation
2. Use fullscreen overlay dialog on the default display
to fix this test
Bug: 223843046
Test: atest VirtualDisplayTest
Change-Id: Ifa790a3436ed487f4af79296e47a900d62cea375
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions
