Do not change strong auth for users stopped with delayed locking
The private profile has the property allowStoppingUserWithDelayedLocking set to true which ensures the user is stopped without evicting the CE storage keys whenever the user is stopped for quiet mode. The change here ensures that all such users that are stopped with delayed locking and have their storage still unlocked are exempted from the strong auth requirement changes. Additionally, user password metrics will also not be removed on such user stops. Without this change, the StrongAuthTracker will always force an LSKF check whenever the user is stopped. Test: atest com.android.server.locksettings. Also,tested locally on device with private space setup and separate challenge enabled (with biometric added). Locking private space results in changing strong auth requirements to STRONG_AUTH_REQUIRED_AFTER_BOOT. Bug: 312184187 Ignore-AOSP-First: Relies on private space feature flags Change-Id: Iaad91abe392689988eeba7da72893b8b174f167e
Loading
Please register or sign in to comment