Made bp have higher window priority

Test: Manually tested biometric prompt on various devices/form factors
Bug: 257073034
Change-Id: Iaab6a50780f30d0b1fa92111bbc0ee3ad7f74728
This commit is contained in:
Joshua McCloskey
2022-12-19 19:46:29 +00:00
committed by Joshua Mccloskey
parent 6d9c998500
commit ac90c91962

View File

@@ -847,7 +847,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;