summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2021-06-24 15:55:38 -0700
committerjorgegil@google.com <jorgegil@google.com>2021-06-29 17:33:42 -0700
commit129493d418189b574d455590933620ae929e5e67 (patch)
tree5c86a75ddc6dcfaa3ddd2ca44a40ab82025fed05 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentfe788b0b7b7a8297facb17ed0d29a7d053b0015a (diff)
Cancel ongoing PIP animations in onTaskVanished
onTaskVanished may be called when an activity is moved to the back while a resize animation is still in progress. This causes a race between the windowing mode change to fullscreen and the PIP resize that results in the fullscreen task leash getting a PIP-sized crop. This change cancels any ongoing animations in onTaskVanished and makes sure that finishResize() is not called when the animation is canceled because the transition to fullscreen will handle the final resize and cropping. Bug: 188856244 Test: enter YT PIP, click the next button and the music button quickly after that, then re-open YT from the notification - verify the activity is fullscreen and is cropped correctly. Change-Id: Ide52b8c6b63205081bde96472a5e0589664e1c8a
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions