Let SysUI call Settings.Secure#getInt
This call is cached locally by Settings Fixes: 140058091 Test: make Change-Id: Ia5eb335e2de69b39095b7d151d4d1e128c9abbd8
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user