diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-10-27 22:32:33 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-10-27 15:25:55 +0000 |
commit | 9f72932f9d35cebcd128987f88b24293e5c7f1d4 (patch) | |
tree | 44ff357315b3b19a7b65ab930b61b6dc6ecd6034 /rs/java/android/renderscript/ProgramStore.java | |
parent | 9a095a4e40f4dac1e324fe31b91d65b1095ab05f (diff) |
Finish fixed rotation of recents if it is invisible
The recents animation may be finished due to device is going to
sleep, and then the recents activity will be invisible so there
won't be a transition finish callback due to no visibility change
when cleaning up recents animation.
So if recents activity was invisible before finishing animation,
just follow the current display orientation and reset the fixed
rotation states.
Bug: 171264143
Test: atest RecentsAnimationControllerTest# \
testClearFixedRotationLaunchingAppAfterCleanupAnimation
Change-Id: Ic2028b5e1d960d1dcebbc1a56f44f93326335d57
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions