Default to hiding silent notifications on lockscreen in Settings
Also, fix an errorprone issue. Bug: 252815574 Test: atest ShowOnLockscreenNotificationPreferenceControllerTest Change-Id: I46e6d0f15c69abe60ef8505d300e5205b3c71e53
This commit is contained in:
@@ -157,6 +157,6 @@ public class ShowOnLockScreenNotificationPreferenceController extends AbstractPr
|
||||
|
||||
private boolean getLockscreenSilentNotificationsEnabled() {
|
||||
return Settings.Secure.getInt(mContext.getContentResolver(),
|
||||
Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 1) != 0;
|
||||
Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) != 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user