From fe590e4c8cfa04f56a5c463ea5bc7e66b9a81175 Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Tue, 19 Nov 2019 15:05:34 -0800 Subject: [PATCH] Let SysUI call Settings.Secure#getInt This call is cached locally by Settings Fixes: 140058091 Test: make Change-Id: Ia5eb335e2de69b39095b7d151d4d1e128c9abbd8 --- .../statusbar/NotificationLockscreenUserManagerImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationLockscreenUserManagerImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationLockscreenUserManagerImpl.java index 021e7e15c7f69..89aad8f37b8de 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 @@ public class NotificationLockscreenUserManagerImpl implements } private boolean hideSilentNotificationsOnLockscreen() { - // TODO(b/140058091) return whitelistIpcs(() -> Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 1) == 0); }