summaryrefslogtreecommitdiff
path: root/api/coverage/tools
diff options
context:
space:
mode:
author Chandru S <chandruis@google.com> 2024-11-04 22:24:12 +0000
committer Chandru S <chandruis@google.com> 2024-11-05 00:43:48 +0000
commit11c5b789813fea6b394904d89804db958387ffe7 (patch)
treee728f8aaf6c0397eff6032dd1b05c98673cfe405 /api/coverage/tools
parent2350f6b281f5b453afb849a5068f0855be663989 (diff)
Stop relying on the local cache in KeyguardUpdateMonitor to determine whether user storage is locked.
SystemUI expects a broadcast with ACTION_USER_UNLOCKED intent action to update the state in the local cache. From the recent bug reports it seems like SystemUI never receives the broadcast or misses it or something else is causing the cache to remain stale. This CL changes the method to use UserManager#isUserUnlocked directly instead of relying on the cache. `UserManager` has an IPC data cache that would avoid repeated IPCs, making this change behind a flag to identify any performance regressions. Flag: com.android.systemui.user_encrypted_source Bug: 333656491 Test: verified manually, reboot device, see the `Unlock for all features and data` message on lock screen. Change-Id: If15b8603aad4ec01fbcbdc3df105451d9e5802b4
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions