summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-07-26 23:37:25 -0600
committerRiddle Hsu <riddlehsu@google.com>2019-10-03 18:24:20 +0800
commitb2297ad376a764db9f43a724ea21cfe310e39892 (patch)
tree844c39b99267a47f298bfa07f6888a07ff7ba3b3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb14c5166149192f090f2fe079843dc06499aae23 (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions