Disable FLAG_WATCH_OUTSIDE_TOUCH for new touch detection
Fixes new expanded overlay not working on master. Causes some issues with alternate bouncer consuming touches first (b/262449405) Bug: 265455206 Test: atest SystemUITests:com.android.systemui.biometrics Change-Id: Ife87b91dad7322702d6020a0b98e5a3bf4b2ec62
This commit is contained in:
@@ -440,7 +440,8 @@ class UdfpsControllerOverlay @JvmOverloads constructor(
|
||||
): WindowManager.LayoutParams {
|
||||
val paddingX = animation?.paddingX ?: 0
|
||||
val paddingY = animation?.paddingY ?: 0
|
||||
if (animation != null && animation.listenForTouchesOutsideView()) {
|
||||
if (!featureFlags.isEnabled(Flags.UDFPS_NEW_TOUCH_DETECTION) && animation != null &&
|
||||
animation.listenForTouchesOutsideView()) {
|
||||
flags = flags or WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user