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

Commit a1595797 authored by Christopher Tate's avatar Christopher Tate
Browse files

Make the drag input window fullscreen touchable again

Having it non-touchable was making it possible to e.g.
touch buttons and launch new activities out from under
an in-flight drag operation.

Bug 3370698

Change-Id: I46fe70a8fe8fbaa5cca48f6bb478ed7ded1f1cc3
parent 28f0a53a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5869,7 +5869,7 @@ public class WindowManagerService extends IWindowManager.Stub
            final InputWindow inputWindow = windowList.add();
            inputWindow.inputChannel = mDragState.mServerChannel;
            inputWindow.name = "drag";
            inputWindow.layoutParamsFlags = WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
            inputWindow.layoutParamsFlags = 0;
            inputWindow.layoutParamsType = WindowManager.LayoutParams.TYPE_DRAG;
            inputWindow.dispatchingTimeoutNanos = DEFAULT_INPUT_DISPATCHING_TIMEOUT_NANOS;
            inputWindow.visible = true;