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

Commit fb7cf099 authored by Austin Delgado's avatar Austin Delgado Committed by Android (Google) Code Review
Browse files

Merge "Disable FLAG_WATCH_OUTSIDE_TOUCH for new touch detection"

parents 97955720 cca6b39f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -442,7 +442,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
        }