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

Commit 4f0aee42 authored by Merissa Mitchell's avatar Merissa Mitchell
Browse files

[PIP2] Hook up expand icon to PipScheduler#scheduleExitPipViaExpand.

Recall: http://recall/clips/52077335-9939-4ec1-a46e-830b59863d72

Bug: 322548939
Test: Launch PiP and test expand button manually.
Flag: com.android.wm.shell.enable_pip2
Change-Id: I84244b34dab4757ccb3b96efcc52916617818841
parent 9fd025cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -336,7 +336,7 @@ public class PipMotionHelper implements PipAppOpsListener.Callback,
        }
        cancelPhysicsAnimation();
        mMenuController.hideMenu(ANIM_TYPE_NONE, false /* resize */);
        // mPipTaskOrganizer.exitPip(skipAnimation ? 0 : LEAVE_PIP_DURATION, enterSplit);
        mPipScheduler.scheduleExitPipViaExpand();
    }

    /**