summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-05-27 23:15:39 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-05-28 21:41:32 +0800
commitf3ff9e7f61af16ca99c73c58b09bfdaebcc6bc99 (patch)
tree696ab633644baebf6e2790fb2004023535d50e12 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentedcb2c38f4a06fbc4fe786e3a5f441d0ef69b55c (diff)
Update top fixed rotation launching app when linking new top
Assume the foreground activity is fixed orientation landscape. Recents (home) is fixed orientation portrait. When swiping the navigation bar to switch to another fixed orientation portrait activity, before the recents animation is finished, the fixed rotation app is the recents activity. And after that, the top activity will be the portrait one. It will share the existing rotation transform of recents. If the top fixed rotation app is still the recents, its transform will be cleared too early (FixedRotationTransitionListener#onFinishRecentsAnimation) when finishing recents animation that causes flickering. Also change the usage of mAssociatedTokens to include the owner token, so that any linked token can clears all rotated state of associated token at the same time. Fixes: 157446289 Test: atest DisplayContentTests#testApplyTopFixedRotationTransform Change-Id: Ibc1c85cf9c9f61297cbcf13412f39b388b874557
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions