Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f2efe4b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Remove lingering content overlays in onTaskVanished" into tm-dev am: 442dbd14

parents 961a9d78 442dbd14
Loading
Loading
Loading
Loading
+6 −4
Original line number Original line Diff line number Diff line
@@ -801,11 +801,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
                    "%s: Unrecognized token: %s", TAG, token);
                    "%s: Unrecognized token: %s", TAG, token);
            return;
            return;
        }
        }
        onExitPipFinished(info);


        if (Transitions.ENABLE_SHELL_TRANSITIONS) {
            mPipTransitionController.forceFinishTransition();
        }
        final PipAnimationController.PipTransitionAnimator<?> animator =
        final PipAnimationController.PipTransitionAnimator<?> animator =
                mPipAnimationController.getCurrentAnimator();
                mPipAnimationController.getCurrentAnimator();
        if (animator != null) {
        if (animator != null) {
@@ -817,6 +813,12 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
            animator.removeAllListeners();
            animator.removeAllListeners();
            animator.cancel();
            animator.cancel();
        }
        }

        onExitPipFinished(info);

        if (Transitions.ENABLE_SHELL_TRANSITIONS) {
            mPipTransitionController.forceFinishTransition();
        }
    }
    }


    @Override
    @Override