Made bp have higher window priority

Test: Manually tested biometric prompt on various devices/form factors.
Test: Verified BP can be shown on lockscreen.
Fixes: b/257073034
Change-Id: Iaab6a50780f30d0b1fa92111bbc0ee3ad7f74728
This commit is contained in:
Joshua McCloskey
2022-12-19 19:46:29 +00:00
committed by Joshua Mccloskey
parent a5ad6e30fd
commit 5ac77d7f24

View File

@@ -877,7 +877,7 @@ public class AuthContainerView extends LinearLayout
final WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.MATCH_PARENT,
WindowManager.LayoutParams.TYPE_STATUS_BAR_ADDITIONAL,
WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG,
windowFlags,
PixelFormat.TRANSLUCENT);
lp.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS;