Reset keyguard/bouncer on sim NOT_READY
Add a failsafe when a SIM is moved to NOT_READY state
that will call reset() to the StatusBarKeyguardViewManager.
This can happen when an eSim is disabled.
Bug: 297461589
Test: atest KeyguardViewMediatorTest
Flag: com.android.systemui.sim_pin_bouncer_reset
Change-Id: I4459d6597864031d6f03c215a5e76909178dcfba
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index 02e8cd6..7974f92 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -1313,6 +1313,16 @@
}
flag {
+ name: "sim_pin_bouncer_reset"
+ namespace: "systemui"
+ description: "The SIM PIN bouncer does not close after unlocking"
+ bug: "297461589"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
+flag {
name: "use_transitions_for_keyguard_occluded"
namespace: "systemui"
description: "Use Keyguard Transitions to set Notification Shade occlusion state"