summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-09-29 13:45:12 -0600
committerRiddle Hsu <riddlehsu@google.com>2021-09-29 15:17:04 +0800
commit36fd1663024b3c39d25b6758a789daa046ff998a (patch)
treeecbef7edd380f065a0f1d843f0a058b45d788e24 /libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp
parentae8b46904a0a60529ebb20c08214eea4c64c3fa2 (diff)
Check pending rotation change after recents animation
Rotation change was skipped while running recents animation to avoid interrupting the animation and may apply unexpected intermediate orientation to recents activity. But the rotation change should be still applied after the animation is finished. Otherwise the display may stay in old rotation. The case may be more obvious since live tile is introduced, because the animation keeps running until switch to app. E.g. enable auto rotation and the top is a rotatable app in landscape, and then enter recents and rotate the device to portrait. After going back to the current app, the display is still in landscape. Fix: 199371058 Test: RecentsAnimationControllerTest#testCheckRotationAfterCleanup Change-Id: I5e7487b08e139b251d160bd0627326b83351640e
Diffstat (limited to 'libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp')
0 files changed, 0 insertions, 0 deletions