summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/values/bools.xml3
-rw-r--r--src/com/android/settings/SoundSettings.java3
2 files changed, 2 insertions, 4 deletions
diff --git a/res/values/bools.xml b/res/values/bools.xml
index 3d5c380b0..a7e6ac834 100644
--- a/res/values/bools.xml
+++ b/res/values/bools.xml
@@ -15,9 +15,6 @@
-->
<resources>
- <!-- Whether or not there is a notification led that is too intrusive to be pulsing
- constantly -->
- <bool name="has_intrusive_led">false</bool>
<!-- Whether or not the dock settings are to be displayed for this device when docked -->
<bool name="has_dock_settings">false</bool>
<!-- Whether there is a silent mode checkbox -->
diff --git a/src/com/android/settings/SoundSettings.java b/src/com/android/settings/SoundSettings.java
index d1f824784..c200c636f 100644
--- a/src/com/android/settings/SoundSettings.java
+++ b/src/com/android/settings/SoundSettings.java
@@ -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 {