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

Commit 4233917c authored by Billy Huang's avatar Billy Huang
Browse files

Track lockout end times in LockSettingsService

Fix the issue where lock timeouts triggered in one process
are not known about by other processes until after the first
guess is made. After this fix, getLockoutAttemptDeadline returns
the right timeout end time in all proceses, e.g. SystemUI/Settings

Expose AIDL method for LockPatternUtils, and use
PropertyInvalidatedCache for client-side caching which
can be invalidated by LockSettingsService.

Per-protector lockout end times are tracked by
SoftwareRateLimiter, which now receives hardware
timeouts.

Bug: 322014085
Flag: android.security.manage_lockout_end_time_in_service
Test: atest FrameworksCoreTests:com.android.internal.widget.LockPatternUtilsTest
Test: atest FrameworksServicesTests:com.android.server.locksettings

Change-Id: Icb87e2dc4d2b7c9070de1e85d15a74962f0d0663
parent b470cbca
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