Loading
1/n: Move confirmationRequired logic into sub-modules
The logic for determining if AuthSession should request SystemUI to display the confirmation button can be calculated purely within AuthSession, making this much more modular, testable, and extendable. A follow-up CL will remove the round-trip that requestConfirmation takes (BiometricService -> <Biometric>Service -> BiometricService). Cleaning that up will be easier once all of AuthSession state is managed by itself, instead of BiometricService. Bug: 149067920 Test: atest com.android.server.biometrics Test: manual test on fingerprint and face devices Change-Id: Ibc365b1992d23960bec0d66b818d27f4d086b462