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
This commit is contained in:
Beverly
2021-04-01 15:20:46 -04:00
parent af4aea5f95
commit db5839b6ee

View File

@@ -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