summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2021-06-23 22:05:51 -0700
committerWinson Chung <winsonc@google.com>2021-06-25 22:10:45 +0000
commita2eaf83a719d5fff5ee72a488b556e1cbb252fd3 (patch)
tree98666fd2015dd17be572377e653b4e9bacbbb8cc /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent6a930e0643fc65676bd63321f8c9ae1bf1c34c1e (diff)
Fix flash when canceling the recents animation with a screenshot
- When canceling because of starting home, use the screenshot call to allow Launcher to handle the cancel more cleanly - Since the cancel+screenshot path was added, we no longer cancel on root task order change (we just get onTaskAppeared now), it's purely a deferred path for the runner to handle the cancel in a clean way. So instead of having a separate animator, just add a screenshot surface to the existing leash, and clean up everything when the runner finishes the recents animation. This prevents the issue where transferring the animation causes the task to be reparented from the leash and made immediately visible (and fullscreen) - Remove some unused code Fixes: 185643608 Test: atest RecentsAnimationControllerTests Test: Manually enable live-tile for 2/3 button, tap home and ensure there's no flash Change-Id: I57775e5df55ae80931ad02c21f190f29ffa76881
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions