Merge "Use a new config flag to decide if notification led pulsing can be turned on/off."
This commit is contained in:
committed by
Android (Google) Code Review
commit
c27508b767
@@ -191,7 +191,8 @@ public class SoundSettings extends SettingsPreferenceFragment implements
|
||||
mNotificationPulse = (CheckBoxPreference)
|
||||
mSoundSettings.findPreference(KEY_NOTIFICATION_PULSE);
|
||||
if (mNotificationPulse != null
|
||||
&& getResources().getBoolean(R.bool.has_intrusive_led) == false) {
|
||||
&& getResources().getBoolean(
|
||||
com.android.internal.R.bool.config_intrusiveNotificationLed) == false) {
|
||||
mSoundSettings.removePreference(mNotificationPulse);
|
||||
} else {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user