summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-12-14 22:48:38 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-12-15 15:46:35 +0000
commita924b839d19e8f447cb0dec0de4ca6c09e3f7bc4 (patch)
tree34d02b1399b2431d22477d93a2d8cc7c920b3844 /rs/java/android/renderscript/RenderScript.java
parent11ed014edf98d43a70ed42da6a6e6dddb21f8b2d (diff)
Clear fixed rotation if rotated recents activity becomes top
If recents animation is active, the transition is controlled by it. There won't be a transition finish event after recents animation. For example, if an activity finishes during swiping-up gesture, the recents activity in rotated state won't be restored. So this change checks whether recents become the top activity, then continue the orientation update procedure to clear fixed rotation state and let display orientation follow the current top. Bug: 173143462 Test: atest RecentsAnimationControllerTest# \ testClearFixedRotationLaunchingAppAfterCleanupAnimation Change-Id: If82744bb846ac823c8fdd76bbf23b584b63776d4 (cherry picked from commit 498b87a347abb1571bc9c1cd63eb73f2808fb7e8)
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions