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
This commit is contained in:
Vinit Nayak
2020-08-25 19:42:47 -07:00
parent c4d592c6a2
commit d05ad98968

View File

@@ -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());