diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-10-06 20:30:33 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-10-06 20:56:05 +0800 |
commit | fb2bf07f91b169a023b1bd92295585b0cae3a444 (patch) | |
tree | 0fae65d21b800149c53e529e5caaeee89892b9dc /rs/java/android/renderscript/ProgramStore.java | |
parent | 4a681f2c420c6f413c1962e8a07b503f5761ccf1 (diff) |
Fix test of wait-for-window-on-boot if wallpaper is disabled
One of condition of the test is to verify that the visible-not-drawn
windows need to wait. But since commit 1e43150, mHasSurface becomes
the criteria of visible window (WindowState#isVisible). So the test
only relied on wallpaper window to pass.
Because config_enableWallpaperService may be false on car product.
That causes the test fails. This change correct the invisible testing
window to restore the original test purpose. So another non-wallpaper
window can take effect to pass the verification.
Bug: 169904362
Bug: 169904497
Test: DisplayContentTests# \
testShouldWaitForSystemDecorWindowsOnBoot_OnDefaultDisplay
testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay
Change-Id: I5bf3efc82fd600946114b31d921cc5097743393f
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions