diff options
author | Bryce Lee <brycelee@google.com> | 2017-05-05 09:58:25 -0700 |
---|---|---|
committer | Bryce Lee <brycelee@google.com> | 2017-05-30 08:57:20 -0700 |
commit | ae73ba4c591630bd5f90b8e8e3ceaed3be20fa56 (patch) | |
tree | ca6ef2e553260766838466b728b9f812352b2717 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0b1b1c434650d2f272be7610027d4ddd948715a8 (diff) |
Do not always skip preparing window to display when already visible.
The window flag FLAG_TURN_SCREEN_ON relies on this method to properly
flag the screen to turn on. An optimization was put in place to skip
this method when the window was already visible. As a result, we would
skip turning the screen on if the activity was recreated.
This changelist addresses this issue by causing this method to execute
always if the flag is set.
Change-Id: I82c05c66136f7cc252b8d574d305809d455732ce
Fixes: 37432034
Test: bit FrameworksServicesTests:com.android.server.wm.WindowStateTests#testPrepareWindowToDisplayDuringRelayout
Test: go/wm-smoke
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions