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

Skip to content
Commit fabb749d authored by Lee Shombert's avatar Lee Shombert
Browse files

Add a binder cache to ILockSettings#getCredentialType

Bug: 214623625

Put a binder cache in front of ILockSettings#getCredentialType().  The
cache is in LockPatternUtils and the invalidation logic is in
LogSettingsService.  The cache is invalidated whenever the
LockSettingsStorage changes.

Three unit tests disable caches because they do not have permission to
write to the system properties.

Test: atest com.android.server.locksettings

Change-Id: Iea4c50ba5cc39de9196d9a9873ae501a946bf9fd
parent 7ad09828
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment