diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-02-10 17:44:40 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-02-21 11:08:50 +0000 |
commit | b398861cebb113d33926f88b627e1d402f01a205 (patch) | |
tree | c0b9e927342a2737349d79f9f84e9db7a5b32454 /rs/java/android/renderscript/ProgramStore.java | |
parent | 224e5f0b31b7da229c1bd13f19b5da4f98d30484 (diff) |
Notify client to clear intermediate rotated adjustments
The previous commit a83c85 for fixing uncleared rotated adjustments
is too aggressive that clears the transform directly. If the previous
activity is still animating, its unrotated window won't fit in display.
E.g. launch an activity in different orientation and press home or back
key before the launch animation is finished.
So this change only notifies client to clear the rotated adjustments.
The transform will be cleared at the end of transition animation.
Bug: 177390830
Test: DisplayContentTests#testClearIntermediateFixedRotationAdjustments
Change-Id: Ica074604df3e74eabbdef931531abe51855103e5
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions