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

Commit 4050aa54 authored by Beverly's avatar Beverly
Browse files

Ignore the UDFPS overlay for magnification

Fixes: 317217984
Flag: None
Test: Enable magnification & observe it works
when UDFPS is enrolled on the LS.

Change-Id: I469bafe62ac56352be1f855d997f6557e084c4f9
parent 9a818444
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -169,7 +169,8 @@ class UdfpsControllerOverlay @JvmOverloads constructor(
        layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS
        flags = (Utils.FINGERPRINT_OVERLAY_LAYOUT_PARAM_FLAGS or
                WindowManager.LayoutParams.FLAG_SPLIT_TOUCH)
        privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_TRUSTED_OVERLAY
        privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_TRUSTED_OVERLAY or
                WindowManager.LayoutParams.PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION
        // Avoid announcing window title.
        accessibilityTitle = " "
        inputFeatures = WindowManager.LayoutParams.INPUT_FEATURE_SPY