From a6c2a57a3d8731c2c3c40a29936084a86d348870 Mon Sep 17 00:00:00 2001 From: Hongwei Wang Date: Thu, 2 Jun 2022 14:43:25 -0700 Subject: [PATCH] Disable cancelling the animation in exitPip This is to unblock b/234502692 Bug: 234502692 Bug: 232439933 Test: atest PinnedStackTests Change-Id: Iae7f8501660a93fcb2a1abb617a8bc82c5554df8 --- .../Shell/src/com/android/wm/shell/pip/PipTaskOrganizer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTaskOrganizer.java b/libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTaskOrganizer.java index 99e7dc5065bf2..bd386b5681d81 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTaskOrganizer.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTaskOrganizer.java @@ -462,7 +462,8 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener, } // Cancel the existing animator if there is any. - cancelCurrentAnimator(); + // TODO(b/232439933): this is disabled temporarily to unblock b/234502692. + // cancelCurrentAnimator(); // Set the exiting state first so if there is fixed rotation later, the running animation // won't be interrupted by alpha animation for existing PiP.