Loading src/com/android/settings/notification/GentleDrawablePreferenceController.java +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ public class GentleDrawablePreferenceController extends BasePreferenceController private boolean showOnLockscreen() { return Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) == ON; Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, ON) == ON; } private boolean showOnStatusBar() { Loading src/com/android/settings/notification/GentleNotificationsPreferenceController.java +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ public class GentleNotificationsPreferenceController extends BasePreferenceContr private boolean showOnLockscreen() { return Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) == ON; Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, ON) == ON; } private boolean showOnStatusBar() { Loading src/com/android/settings/notification/ImportancePreferenceController.java +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ public class ImportancePreferenceController extends NotificationPreferenceContro pref.setImportance(mChannel.getImportance()); pref.setDisplayInStatusBar(mBackend.showSilentInStatusBar(mContext.getPackageName())); pref.setDisplayOnLockscreen(Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) == 1); Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 1) == 1); } } Loading src/com/android/settings/notification/ShowOnLockScreenNotificationPreferenceController.java +2 −2 Original line number Diff line number Diff line Loading @@ -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; } } src/com/android/settings/notification/SilentLockscreenPreferenceController.java +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ public class SilentLockscreenPreferenceController extends TogglePreferenceContro @Override public boolean isChecked() { return Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) == 1; Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 1) == 1; } @Override Loading Loading
src/com/android/settings/notification/GentleDrawablePreferenceController.java +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ public class GentleDrawablePreferenceController extends BasePreferenceController private boolean showOnLockscreen() { return Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) == ON; Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, ON) == ON; } private boolean showOnStatusBar() { Loading
src/com/android/settings/notification/GentleNotificationsPreferenceController.java +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ public class GentleNotificationsPreferenceController extends BasePreferenceContr private boolean showOnLockscreen() { return Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) == ON; Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, ON) == ON; } private boolean showOnStatusBar() { Loading
src/com/android/settings/notification/ImportancePreferenceController.java +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ public class ImportancePreferenceController extends NotificationPreferenceContro pref.setImportance(mChannel.getImportance()); pref.setDisplayInStatusBar(mBackend.showSilentInStatusBar(mContext.getPackageName())); pref.setDisplayOnLockscreen(Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) == 1); Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 1) == 1); } } Loading
src/com/android/settings/notification/ShowOnLockScreenNotificationPreferenceController.java +2 −2 Original line number Diff line number Diff line Loading @@ -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; } }
src/com/android/settings/notification/SilentLockscreenPreferenceController.java +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ public class SilentLockscreenPreferenceController extends TogglePreferenceContro @Override public boolean isChecked() { return Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 0) == 1; Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, 1) == 1; } @Override Loading