Loading core/java/android/provider/Settings.java +9 −1 Original line number Diff line number Diff line Loading @@ -6967,6 +6967,13 @@ public final class Settings { */ public static final String CMAS_ADDITIONAL_BROADCAST_PKG = "cmas_additional_broadcast_pkg"; /** * Whether the launcher should show any notification badges. * The value is boolean (1 or 0). * @hide */ public static final String NOTIFICATION_BADGING = "notification_badging"; /** * This are the settings to be backed up. * Loading Loading @@ -7062,7 +7069,8 @@ public final class Settings { AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN, ASSIST_GESTURE_ENABLED, ASSIST_GESTURE_SENSITIVITY, VR_DISPLAY_MODE VR_DISPLAY_MODE, NOTIFICATION_BADGING }; /** Loading core/proto/android/providers/settings.proto +1 −0 Original line number Diff line number Diff line Loading @@ -503,6 +503,7 @@ message SecureSettingsProto { SettingProto demo_user_setup_complete = 165; SettingProto instant_apps_enabled = 166; SettingProto device_paired = 167; SettingProto notification_badging = 168; } message SystemSettingsProto { Loading core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -1010,6 +1010,9 @@ <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> <bool name="config_intrusiveNotificationLed">false</bool> <!-- De we do icon badges? Used to decide if there should be a disable option--> <bool name="config_notificationBadging">true</bool> <!-- Default value for LED off time when the battery is low on charge in miliseconds --> <integer name="config_notificationsBatteryLedOff">2875</integer> Loading core/res/res/values/symbols.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2095,6 +2095,7 @@ <java-symbol type="string" name="config_wifi_tether_enable" /> <java-symbol type="integer" name="config_wifi_wakeup_available" /> <java-symbol type="bool" name="config_intrusiveNotificationLed" /> <java-symbol type="bool" name="config_notificationBadging" /> <java-symbol type="dimen" name="preference_fragment_padding_bottom" /> <java-symbol type="dimen" name="preference_fragment_padding_side" /> <java-symbol type="drawable" name="expander_ic_maximized" /> Loading packages/SettingsProvider/src/com/android/providers/settings/SettingsProtoDumpUtil.java +3 −0 Original line number Diff line number Diff line Loading @@ -1434,6 +1434,9 @@ class SettingsProtoDumpUtil { dumpSetting(s, p, Settings.Secure.DEVICE_PAIRED, SecureSettingsProto.DEVICE_PAIRED); dumpSetting(s, p, Settings.Secure.NOTIFICATION_BADGING, SecureSettingsProto.NOTIFICATION_BADGING); } private static void dumpProtoSystemSettingsLocked( Loading Loading
core/java/android/provider/Settings.java +9 −1 Original line number Diff line number Diff line Loading @@ -6967,6 +6967,13 @@ public final class Settings { */ public static final String CMAS_ADDITIONAL_BROADCAST_PKG = "cmas_additional_broadcast_pkg"; /** * Whether the launcher should show any notification badges. * The value is boolean (1 or 0). * @hide */ public static final String NOTIFICATION_BADGING = "notification_badging"; /** * This are the settings to be backed up. * Loading Loading @@ -7062,7 +7069,8 @@ public final class Settings { AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN, ASSIST_GESTURE_ENABLED, ASSIST_GESTURE_SENSITIVITY, VR_DISPLAY_MODE VR_DISPLAY_MODE, NOTIFICATION_BADGING }; /** Loading
core/proto/android/providers/settings.proto +1 −0 Original line number Diff line number Diff line Loading @@ -503,6 +503,7 @@ message SecureSettingsProto { SettingProto demo_user_setup_complete = 165; SettingProto instant_apps_enabled = 166; SettingProto device_paired = 167; SettingProto notification_badging = 168; } message SystemSettingsProto { Loading
core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -1010,6 +1010,9 @@ <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> <bool name="config_intrusiveNotificationLed">false</bool> <!-- De we do icon badges? Used to decide if there should be a disable option--> <bool name="config_notificationBadging">true</bool> <!-- Default value for LED off time when the battery is low on charge in miliseconds --> <integer name="config_notificationsBatteryLedOff">2875</integer> Loading
core/res/res/values/symbols.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2095,6 +2095,7 @@ <java-symbol type="string" name="config_wifi_tether_enable" /> <java-symbol type="integer" name="config_wifi_wakeup_available" /> <java-symbol type="bool" name="config_intrusiveNotificationLed" /> <java-symbol type="bool" name="config_notificationBadging" /> <java-symbol type="dimen" name="preference_fragment_padding_bottom" /> <java-symbol type="dimen" name="preference_fragment_padding_side" /> <java-symbol type="drawable" name="expander_ic_maximized" /> Loading
packages/SettingsProvider/src/com/android/providers/settings/SettingsProtoDumpUtil.java +3 −0 Original line number Diff line number Diff line Loading @@ -1434,6 +1434,9 @@ class SettingsProtoDumpUtil { dumpSetting(s, p, Settings.Secure.DEVICE_PAIRED, SecureSettingsProto.DEVICE_PAIRED); dumpSetting(s, p, Settings.Secure.NOTIFICATION_BADGING, SecureSettingsProto.NOTIFICATION_BADGING); } private static void dumpProtoSystemSettingsLocked( Loading