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

Commit c4afa9e7 authored by Matt Sziklay's avatar Matt Sziklay Committed by Automerger Merge Worker
Browse files

Merge "Disable dragging on fullscreen tasks." into tm-qpr-dev am: 057f7217 am: 1f1d59d7

parents af8a562f 1f1d59d7
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);