Fix UdfpsView not appearing on BP rotate
Changes UdfpsView window priority to `TYPE_NAVIGATION_BAR_PANEL` from `TYPE_KEYGUARD_DIALOG` to prevent issues with BP. Test: atest SystemUITests:com.android.systemui.biometrics Test: Tested manually by rotating in BP Bug: 282973622 Change-Id: I47eacca2cf2dee1af17933957dda21b28466c400
This commit is contained in:
@@ -115,7 +115,7 @@ class UdfpsControllerOverlay @JvmOverloads constructor(
|
||||
private var overlayTouchListener: TouchExplorationStateChangeListener? = null
|
||||
|
||||
private val coreLayoutParams = WindowManager.LayoutParams(
|
||||
WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG,
|
||||
WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL,
|
||||
0 /* flags set in computeLayoutParams() */,
|
||||
PixelFormat.TRANSLUCENT
|
||||
).apply {
|
||||
|
||||
Reference in New Issue
Block a user