summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-02-18 18:57:19 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-03-01 14:24:03 +0800
commit7c6f6b809b2a90c5d0d0499987b75fbf2aef8744 (patch)
tree184fe44a837e820d12de10badc62065de9c4a573 /libs/androidfw/StringPool.cpp
parent91e92eb08555c41c81d9f05420c1ca16e0c0b786 (diff)
Defer rotation update during recent transition
This migrates the changes [1] and [2] to shell transition. [1] I3f2a46ddfe5e76ad3200ea27ad272ae36b6bcc8d [2] I5e7487b08e139b251d160bd0627326b83351640e With shell transition+fixed rotation, even if the home is moved to top for showing recents overview, a rotation change may still happen if the display is in non-natural rotation (different than NOSENSOR). So the legacy condition is still needed to defer the rotation change. Eliminate the post message for updating rotation by setting the orientation of recents mLastOrientation. So when finishing the transition, the change can be seen: Legacy: handleAppTransitionReady -> FINISH_LAYOUT_REDO_CONFIG Shell: onAppTransitionFinishedLocked -> continueUpdateOrientationForDiffOrienLaunchingApp Bug: 216169338 Test: atest TransitionTests#testDeferRotationForTransientLaunch RecentsAnimationControllerTest#testCheckRotationAfterCleanup Change-Id: I2580c6d7b46a641abd4d8f963e915122af215ac7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions