summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Peter Kalauskas <peskal@google.com> 2022-05-03 23:03:58 +0000
committer Peter Kalauskas <peskal@google.com> 2022-05-04 00:43:34 +0000
commitabaa00ce7b0097052fc6a68c37b44e203520aa9d (patch)
treeaf18d20d1d42907cb3fc690686ebaa921c115a6b /api/api.go
parent9f4d4e7352bbbe9a4c30161fe9df5e5b53b6c3cc (diff)
Cache SHOW_MEDIA_ON_QUICK_SETTINGS
Store value of SHOW_MEDIA_ON_QUICK_SETTINGS the first time it is queried to avoid binder calls on critical path. SHOW_MEDIA_ON_QUICK_SETTINGS should not change at runtime. Test: Ensure Settings.Global.getInt is not called during Lockscreen PIN disappear CUJ Test: adb shell settings put global qs_media_controls 1 && \ atest SystemUITests:NotificationSectionsFeatureManagerTest Test: adb shell settings put global qs_media_controls 0 && \ atest SystemUITests:MediaResumeListenerTest Bug: 230620480 Change-Id: Ie3264573071b6daa1cc7393d99aad5359bc2fd1a
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions