summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Anna Bauza <annabauza@google.com> 2024-07-10 11:58:02 +0000
committer Anna Bauza <annabauza@google.com> 2024-07-11 11:12:37 +0000
commit6e5ce492cc94de3c1fde0f7b16141538b3ecd60f (patch)
tree5c39fd9b5a9ee53e62e0159d1d2e3732a05ba4a2 /libs/androidfw/misc.cpp
parent80c29640352eb71b000adc516b1b060bcca9520a (diff)
Cache quiet mode state in UserManager
This CL adds a cache for the quiet mode state in UserManager. The cache is invalidated when the quiet mode state is changed. This change should improve the performance of the isQuietModeEnabled method. Bug: 350420769 Change-Id: Iba99b30f36447dd1998fc418b8d59b80076ba8b9 Test: atest QuietModeTest Test: atest ManagedProfileQuietModeEnablerTest Flag: android.multiuser.cache_quiet_mode_state
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions