summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-03-31 17:55:18 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-03-31 17:56:50 +0800
commit7ac304d09a0513dd3583eb072423339932ac3e70 (patch)
tree898fc1ff98969118b029635568dc6806a4ac8713 /tools/aapt2/java/JavaClassGenerator.cpp
parent91aea8ebc846af08d71466946339ae6d9425cdd7 (diff)
Use last reported configuration for apps that are going-away
This aligns the same condition as commit e3f5afa and a841c15 in WindowState#reportResized. Otherwise the app may get inconsistent configuration. For example, switching activities from one with show-when-locked to another one without the flag with a secured lock and orientation change. The starting activity needs to resume and relayout (mClientVisible) once, but its visible-requested has been updated to false because lockscreen is still showing. Then the app becomes out of sync with ActivityRecord#mLastReportedConfiguration. Bug: 183889107 Test: 1. Enable secured lock. 2. Launch a landscape show-when-locked activity. 3. Off/on screen to enter lockscreen. 4. Press home key and unlock. Launcher should not get landscape configuration. Change-Id: I19af6cf7f9a4a27fbc987d920630e2de95ced602
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions