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

Commit 81d73d5c authored by Jorge Gil's avatar Jorge Gil
Browse files

Remove input channel from visual indicator

Bug: 375120310
Flag: EXEMPT bugfix
Test: m
Change-Id: I68fe7442f403514475b9ef6e5332683d4af6c73e
parent 6f17e8dc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.wm.shell.desktopmode;
import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW;
import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
import static android.view.WindowManager.LayoutParams.INPUT_FEATURE_NO_INPUT_CHANNEL;
import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;

import static com.android.wm.shell.desktopmode.DesktopModeVisualIndicator.IndicatorType.NO_INDICATOR;
@@ -259,6 +260,7 @@ public class DesktopModeVisualIndicator {
                        FLAG_NOT_FOCUSABLE, PixelFormat.TRANSPARENT);
        lp.setTitle("Desktop Mode Visual Indicator");
        lp.setTrustedOverlay();
        lp.inputFeatures |= INPUT_FEATURE_NO_INPUT_CHANNEL;
        final WindowlessWindowManager windowManager = new WindowlessWindowManager(
                mTaskInfo.configuration, mLeash,
                null /* hostInputToken */);