Merge "Remove lingering content overlays in onTaskVanished" into tm-dev am: 442dbd14ff am: 156254df35 am: 0958d65c45
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18604863 Change-Id: I9e6af0fdedd92973bd2125b3aff8a9ac5e8964c9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -805,11 +805,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
|
||||
"%s: Unrecognized token: %s", TAG, token);
|
||||
return;
|
||||
}
|
||||
onExitPipFinished(info);
|
||||
|
||||
if (Transitions.ENABLE_SHELL_TRANSITIONS) {
|
||||
mPipTransitionController.forceFinishTransition();
|
||||
}
|
||||
final PipAnimationController.PipTransitionAnimator<?> animator =
|
||||
mPipAnimationController.getCurrentAnimator();
|
||||
if (animator != null) {
|
||||
@@ -821,6 +817,12 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
|
||||
animator.removeAllListeners();
|
||||
animator.cancel();
|
||||
}
|
||||
|
||||
onExitPipFinished(info);
|
||||
|
||||
if (Transitions.ENABLE_SHELL_TRANSITIONS) {
|
||||
mPipTransitionController.forceFinishTransition();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user