Merge "PiP: Don't invoke double-tap gesture (maximize) if menu is showing." into sc-dev
This commit is contained in:
@@ -872,7 +872,8 @@ public class PipTouchHandler {
|
|||||||
mMotionHelper.flingToSnapTarget(vel.x, vel.y,
|
mMotionHelper.flingToSnapTarget(vel.x, vel.y,
|
||||||
this::flingEndAction /* endAction */);
|
this::flingEndAction /* endAction */);
|
||||||
}
|
}
|
||||||
} else if (mTouchState.isDoubleTap() && !mPipBoundsState.isStashed()) {
|
} else if (mTouchState.isDoubleTap() && !mPipBoundsState.isStashed()
|
||||||
|
&& mMenuState != MENU_STATE_FULL) {
|
||||||
// If using pinch to zoom, double-tap functions as resizing between max/min size
|
// If using pinch to zoom, double-tap functions as resizing between max/min size
|
||||||
if (mPipResizeGestureHandler.isUsingPinchToZoom()) {
|
if (mPipResizeGestureHandler.isUsingPinchToZoom()) {
|
||||||
final boolean toExpand = mPipBoundsState.getBounds().width()
|
final boolean toExpand = mPipBoundsState.getBounds().width()
|
||||||
|
|||||||
Reference in New Issue
Block a user