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

Commit 699ed17c authored by Ben Lin's avatar Ben Lin Committed by Android (Google) Code Review
Browse files

Merge "PiP: Hide menu when resize starts."

parents d8dadee4 90ddc7bd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -329,6 +329,10 @@ public class PipResizeGestureHandler {
                        mInputMonitor.pilferPointers();
                    }
                    if (mThresholdCrossed) {
                        if (mPipMenuActivityController.isMenuVisible()) {
                            mPipMenuActivityController.hideMenuWithoutResize();
                            mPipMenuActivityController.hideMenu();
                        }
                        final Rect currentPipBounds = mMotionHelper.getBounds();
                        mLastResizeBounds.set(TaskResizingAlgorithm.resizeDrag(x, y,
                                mDownPoint.x, mDownPoint.y, currentPipBounds, mCtrlType, mMinSize.x,