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

Commit cca6b39f authored by Austin Delgado's avatar Austin Delgado
Browse files

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
parent c76e3b50
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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
        }