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

Commit cb218ab9 authored by Hongwei Wang's avatar Hongwei Wang Committed by Android (Google) Code Review
Browse files

Merge "Close PiP dismiss target upon screen off" into main

parents 0036f991 4ce4091c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -581,6 +581,7 @@ public class PipTouchHandler {
            case MotionEvent.ACTION_CANCEL: {
                shouldDeliverToMenu = !mTouchState.startedDragging() && !mTouchState.isDragging();
                mTouchState.reset();
                mPipDismissTargetHandler.cleanUpDismissTarget();
                break;
            }
            case MotionEvent.ACTION_HOVER_ENTER:
+1 −0
Original line number Diff line number Diff line
@@ -622,6 +622,7 @@ public class PipTouchHandler implements PipTransitionState.PipTransitionStateCha
                }
                shouldDeliverToMenu = !mTouchState.startedDragging() && !mTouchState.isDragging();
                mTouchState.reset();
                mPipDismissTargetHandler.cleanUpDismissTarget();
                break;
            }
            case MotionEvent.ACTION_HOVER_ENTER: {