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

Commit 0585343c authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Only update home visibility on exit pip to fullscreen" into main

parents 83422197 2f3aa427
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -200,9 +200,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
@@ -659,6 +656,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);