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

Commit db5839b6 authored by Beverly's avatar Beverly
Browse files

Change Udfps window type to KEYGUARD_DIALOG

So it'll show over the StatusBar and NotificationShade,
but won't be above GlobalActions.

Test: manual
Fixes: 183129768
Change-Id: I9dc70464d34f78af9606e7f4ea7c8a55f0b71b9d
parent af4aea5f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -327,8 +327,7 @@ public class UdfpsController implements DozeReceiver, HbmCallback {
        mStatusBar.setSensorRect(getSensorLocation());

        mCoreLayoutParams = new WindowManager.LayoutParams(
                // TODO(b/152419866): Use the UDFPS window type when it becomes available.
                WindowManager.LayoutParams.TYPE_BOOT_PROGRESS,
                WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG,
                WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
                        | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
                        | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE