diff options
| author | 2020-08-25 19:42:47 -0700 | |
|---|---|---|
| committer | 2020-08-25 22:45:59 -0700 | |
| commit | d05ad989682b658b84bfb8989df7f36c0966a191 (patch) | |
| tree | 7bf591354ecf74f081cb09d35664524c9207cbcd | |
| parent | c4d592c6a2012e4eb21b8ef9c8f9defb1e961f91 (diff) | |
Prevent secondary home handle from handling touches
This change doesn't affect the hit test for
determining if a touch is for an app vs the
nav bar region, it just allows touches to go
through the secondary home handle if someone wants
to interact with underlying app mid quickswitch.
Fixes: 162755095
Change-Id: I915f25a0c7d4c68179c6c8862edbe2b486d671dc
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBar.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBar.java b/packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBar.java index aec3543de4eb..c7e78174f474 100644 --- a/packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBar.java +++ b/packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBar.java @@ -662,7 +662,7 @@ public class NavigationBar implements View.OnAttachStateChangeListener, WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN - | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH + | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE | WindowManager.LayoutParams.FLAG_SLIPPERY, PixelFormat.TRANSLUCENT); mOrientationParams.setTitle("SecondaryHomeHandle" + mContext.getDisplayId()); |