summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2021-07-15 10:13:39 -0700
committerWinson Chung <winsonc@google.com>2021-07-16 04:13:50 +0000
commitcbcf2ca2324d03451ddc8dc9520d300963aedb80 (patch)
treebe17fee8e0fae050e1dc3fc8520923769ffb298e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4162c032bf1ec28e49548df1e042f57c8a7ae387 (diff)
Fix a couple more issues with canceling the recents animation w/ screenshots
- There are a couple scenarios that were exposed in further testing of cancelling the recents animation with screenshots: 1) ensure that we force-cancel the recents animation (ie. continue cancel when deferred) if the process dies, the failsafe occurs or starting a new animation. Previous the failsafe was not continuing since it was already canceled 2) Add a failsafe when deferring cancelling. This is a catch-all for cases where launcher fails to return promptly, the system won't be stuck in a pending state waiting for the cleanup 3) Always finish the animation when requested by the runner even if there is a deferred cancel. Launcher was assuming that this was the case, but we were actually skipping the finish (which also causes the controller on the launcher side to be cleared) which prevents the cleanupScreenshot() from happening. Bug: 192564669 Test: atest RecentsAnimationControllerTest Change-Id: I8952a0c404bb17056c03f2bc8e78f51fc5bd0a1e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions