Set secure settings disable_adaptive_auth_limit_lock
If the settings doesn't exist, set it to the default when the service
is initiated or when switching to new users. This helps populate the
settings values properly for the failed auth lock toggle to show up
initially.
Flag: android.security.failed_auth_lock_toggle
Bug: 414605464
Fix: 423774368
Test: atest AuthenticationPolicyServiceTest
Test: Manually test that the settings is set after factory reset and the
service starts, as well as after switching to new users
Change-Id: Id794d02e10a3e222286449e4464acde21af7a5ff
Loading
Please register or sign in to comment