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

Commit 057f7217 authored by Matt Sziklay's avatar Matt Sziklay Committed by Android (Google) Code Review
Browse files

Merge "Disable dragging on fullscreen tasks." into tm-qpr-dev

parents 4f33cbd6 26867ae4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -199,6 +199,10 @@ public class CaptionWindowDecorViewModel implements WindowDecorViewModel<Caption
        }

        private void handleEventForMove(MotionEvent e) {
            if (mTaskOrganizer.getRunningTaskInfo(mTaskId).getWindowingMode()
                    == WINDOWING_MODE_FULLSCREEN) {
                return;
            }
            switch (e.getActionMasked()) {
                case MotionEvent.ACTION_DOWN:
                    mDragPointerId  = e.getPointerId(0);