summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.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-14 22:48:38 +0800
commit498b87a347abb1571bc9c1cd63eb73f2808fb7e8 (patch)
tree4382495853478e4d9956a1ea9eb2b49898880f06 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent331168f15af7409e2c3b07bee6ce998535b044f2 (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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions