Fix stale isAutoConfirmEnabled setting state.
- confirmButtonAppearance is eagerly collected which in turn eagerly collects isAutoConfirmEnabled
- isAutoConfirmEnabled refreshes its state in the repository whenever a new subscriber is added, but that doesn't happen because the flow is always hot.
Fixes: 332744173
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Bug: 332768183
Test: manually.
1. change auto confirm setting under PIN bouncer setting
2. check this is reflected in the bouncer.
Change-Id: I32d3b9af8e6df2b042f351508c3eae8da8d9dd64
2 files changed