diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-07-26 23:37:25 -0600 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-10-03 18:24:20 +0800 |
commit | b2297ad376a764db9f43a724ea21cfe310e39892 (patch) | |
tree | 844c39b99267a47f298bfa07f6888a07ff7ba3b3 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | b14c5166149192f090f2fe079843dc06499aae23 (diff) |
Wait for system decor windows on all displays during boot
To prevent from showing empty content on some displays temporarily,
wait for displays which support system decorations that have the
expected window types to be drawn.
Also correct the conditions for waiting:
- isVisibleLw and !isDrawnLw are contradicted because they both
check mHasSurface.
- TYPE_APPLICATION must belong to an activity so it is more
reasonable to check BASE_APPLICATION.
Bug: 117597389
Test: atest DisplayContentTests \
#testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay
Test: manual enable "Simulate secondary displays" in dev options.
Reboot and check no "BOOT TIMEOUT" in log.
Change-Id: Ie0890cd006da74f290ecc6cbcf1064a0b26de574
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions