diff options
author | wilsonshih <wilsonshih@google.com> | 2021-06-30 21:17:52 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2021-06-30 22:46:08 +0800 |
commit | 9768747be9bc2ff826eb60e724ad603df9d8b5f0 (patch) | |
tree | 80578ec92bb6c25602c530b5900521469adfd041 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | fc3e38324fd63b240e7f894279403e78a4496718 (diff) |
Fix switch task flicker from reveal animation.
While prepareing reveal animation in core, the initial position will be
set to 0,0 even when the window is shift by other insets.
- Only splash screen need to apply reveal animation, so ignore the
animation when removing task snapshot starting window.
- Set the initial position after the animation leash just created.
Fixes: 192333159
Test: Rotate device to landscape then use task switch to launch apps,
testing for both hot and cold launch.
Change-Id: I82d78822e0a44350a49ac4cee105f10790014982
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions