Loading libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/DesktopModeWindowDecoration.java +3 −0 Original line number Diff line number Diff line Loading @@ -1037,6 +1037,9 @@ public class DesktopModeWindowDecoration extends WindowDecoration<WindowDecorLin } controlsElement.mAlignment = RelayoutParams.OccludingCaptionElement.Alignment.END; relayoutParams.mOccludingCaptionElements.add(controlsElement); relayoutParams.mInputFeatures |= WindowManager.LayoutParams.INPUT_FEATURE_DISPLAY_TOPOLOGY_AWARE; } else if (isAppHandle && !DesktopModeFlags.ENABLE_HANDLE_INPUT_FIX.isTrue()) { // The focused decor (fullscreen/split) does not need to handle input because input in // the App Handle is handled by the InputMonitor in DesktopModeWindowDecorViewModel. Loading services/core/java/com/android/server/wm/DragState.java +2 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ import android.graphics.Rect; import android.os.Binder; import android.os.Build; import android.os.IBinder; import android.os.InputConfig; import android.os.PersistableBundle; import android.os.RemoteException; import android.os.Trace; Loading Loading @@ -436,6 +437,7 @@ class DragState { mDragWindowHandle.ownerPid = MY_PID; mDragWindowHandle.ownerUid = MY_UID; mDragWindowHandle.scaleFactor = 1.0f; mDragWindowHandle.inputConfig = InputConfig.DISPLAY_TOPOLOGY_AWARE; // The drag window cannot receive new touches. mDragWindowHandle.touchableRegion.setEmpty(); Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/DesktopModeWindowDecoration.java +3 −0 Original line number Diff line number Diff line Loading @@ -1037,6 +1037,9 @@ public class DesktopModeWindowDecoration extends WindowDecoration<WindowDecorLin } controlsElement.mAlignment = RelayoutParams.OccludingCaptionElement.Alignment.END; relayoutParams.mOccludingCaptionElements.add(controlsElement); relayoutParams.mInputFeatures |= WindowManager.LayoutParams.INPUT_FEATURE_DISPLAY_TOPOLOGY_AWARE; } else if (isAppHandle && !DesktopModeFlags.ENABLE_HANDLE_INPUT_FIX.isTrue()) { // The focused decor (fullscreen/split) does not need to handle input because input in // the App Handle is handled by the InputMonitor in DesktopModeWindowDecorViewModel. Loading
services/core/java/com/android/server/wm/DragState.java +2 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ import android.graphics.Rect; import android.os.Binder; import android.os.Build; import android.os.IBinder; import android.os.InputConfig; import android.os.PersistableBundle; import android.os.RemoteException; import android.os.Trace; Loading Loading @@ -436,6 +437,7 @@ class DragState { mDragWindowHandle.ownerPid = MY_PID; mDragWindowHandle.ownerUid = MY_UID; mDragWindowHandle.scaleFactor = 1.0f; mDragWindowHandle.inputConfig = InputConfig.DISPLAY_TOPOLOGY_AWARE; // The drag window cannot receive new touches. mDragWindowHandle.touchableRegion.setEmpty(); Loading