commit | fe590e4c8cfa04f56a5c463ea5bc7e66b9a81175 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Tue Nov 19 15:05:34 2019 -0800 |
committer | Lucas Dupin <dupin@google.com> | Tue Nov 19 15:05:34 2019 -0800 |
tree | 585ddfa3be90dd70cece18209a42433b28090ab9 | |
parent | a2186c9f79cb8e634ddbf067032f933bd9ea8769 [diff] |
Let SysUI call Settings.Secure#getInt This call is cached locally by Settings Fixes: 140058091 Test: make Change-Id: Ia5eb335e2de69b39095b7d151d4d1e128c9abbd8
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationLockscreenUserManagerImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationLockscreenUserManagerImpl.java index 021e7e1..89aad8f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationLockscreenUserManagerImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationLockscreenUserManagerImpl.java
@@ -333,7 +333,6 @@ } private boolean hideSilentNotificationsOnLockscreen() { - // TODO(b/140058091) return whitelistIpcs(() -> Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 1) == 0); }