Silent notifs appear on lockscreen by default
Test: atest Bug: 134613164 Change-Id: I1ee39a1302010a2a29ba6d0060f19565e41859a2
This commit is contained in:
@@ -150,11 +150,11 @@ public class ShowOnLockScreenNotificationPreferenceController extends AbstractPr
|
||||
|
||||
private boolean getLockscreenNotificationsEnabled() {
|
||||
return Settings.Secure.getInt(mContext.getContentResolver(),
|
||||
Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0) != 0;
|
||||
Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 1) != 0;
|
||||
}
|
||||
|
||||
private boolean getLockscreenSilentNotificationsEnabled() {
|
||||
return Settings.Secure.getInt(mContext.getContentResolver(),
|
||||
Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) != 0;
|
||||
Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 1) != 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user