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

Commit 837a4496 authored by David Lin's avatar David Lin Committed by Android (Google) Code Review
Browse files

Merge "Only update home visibility on exit pip to fullscreen" into 24D1-dev

parents 80129400 a61f3959
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -201,9 +201,6 @@ public class PipTransition extends PipTransitionController {
            animator.cancel();
        }
        mExitTransition = mTransitions.startTransition(type, out, this);
        if (mPipOrganizer.getOutPipWindowingMode() == WINDOWING_MODE_UNDEFINED) {
            mHomeTransitionObserver.notifyHomeVisibilityChanged(false /* isVisible */);
        }
    }

    @Override
@@ -645,6 +642,9 @@ public class PipTransition extends PipTransitionController {
            startTransaction.remove(mPipOrganizer.mPipOverlay);
            mPipOrganizer.clearContentOverlay();
        }
        if (mPipOrganizer.getOutPipWindowingMode() == WINDOWING_MODE_UNDEFINED) {
            mHomeTransitionObserver.notifyHomeVisibilityChanged(false /* isVisible */);
        }
        if (pipChange == null) {
            ProtoLog.w(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,
                    "%s: No window of exiting PIP is found. Can't play expand animation", TAG);