summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-07-01 20:34:27 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-07-04 09:16:56 +0800
commit332a9410aaa8e68e61a8185cee18a23ef02eaf6b (patch)
tree4a50274fc79105715eb04764111ed456c0e19654 /tools/aapt2/java/JavaClassGenerator.cpp
parente5e4c105c2f8b7fb2f58ac0f6c85730d3c710842 (diff)
Fix extra configuration change when unlocking directly
When unlocking the device directly, if the top activity has different orientation than keyguard, the orientation of display be updated first. Otherwise the activity may be updated to the orientation requested by keyguard, and then update again according to the activity. If fixed rotation is active in this case, it only increase useless cost because the display is not frozen, the orientation changes will have some intermediate states, such as keyguard-going-away is just cleared but the specified orientation of keyguard still exists a while. Also make the cleanup of fixed rotation more robust to avoid other unexpected paths retain the stale state. Bug: 160131683 Bug: 160239395 Test: atest RootActivityContainerTests# \ testAwakeFromSleepingWithAppConfiguration Change-Id: I3552b81ffaaff062aa2ee90c51928c92dfb83c48
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions