Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 526aeb7e authored by Haining Chen's avatar Haining Chen
Browse files

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
parent 75c359df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment