diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index de59271f7..508fab4a9 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -117,18 +117,6 @@
- none
-
- - @string/fast
- - @string/normal
- - @string/slow
-
-
-
- - 300,300
- - 500,2000
- - 3000,3000
-
-
- default
- custom
diff --git a/res/xml/preferences_notifications.xml b/res/xml/preferences_notifications.xml
index d451db047..8c885c30e 100644
--- a/res/xml/preferences_notifications.xml
+++ b/res/xml/preferences_notifications.xml
@@ -35,20 +35,6 @@
android:entries="@array/pref_led_color_entries"
android:entryValues="@array/pref_led_color_values" />
-
-
-
-
+
+
diff --git a/src/org/thoughtcrime/securesms/notifications/AbstractNotificationBuilder.java b/src/org/thoughtcrime/securesms/notifications/AbstractNotificationBuilder.java
index d436f5c9f..9225cf536 100644
--- a/src/org/thoughtcrime/securesms/notifications/AbstractNotificationBuilder.java
+++ b/src/org/thoughtcrime/securesms/notifications/AbstractNotificationBuilder.java
@@ -72,6 +72,7 @@ abstract class AbstractNotificationBuilder extends NotificationCompat.Builder {
}
private void setLed() {
+ /*
String ledColor = Prefs.getNotificationLedColor(context);
String ledBlinkPattern = Prefs.getNotificationLedPattern(context);
String ledBlinkPatternCustom = Prefs.getNotificationLedPatternCustom(context);
@@ -89,6 +90,7 @@ abstract class AbstractNotificationBuilder extends NotificationCompat.Builder {
Integer.parseInt(blinkPatternArray[0]),
Integer.parseInt(blinkPatternArray[1]));
}
+ */
}
void setTicker(@NonNull Recipient recipient, @Nullable CharSequence message) {
diff --git a/src/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java b/src/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java
index 8178ca0bb..5bef4365e 100644
--- a/src/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java
+++ b/src/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java
@@ -32,8 +32,6 @@ public class NotificationsPreferenceFragment extends ListSummaryPreferenceFragme
this.findPreference(Prefs.LED_COLOR_PREF)
.setOnPreferenceChangeListener(new ListSummaryListener());
- this.findPreference(Prefs.LED_BLINK_PREF)
- .setOnPreferenceChangeListener(new ListSummaryListener());
this.findPreference(Prefs.RINGTONE_PREF)
.setOnPreferenceChangeListener(new RingtoneSummaryListener());
this.findPreference(Prefs.NOTIFICATION_PRIVACY_PREF)
@@ -58,7 +56,6 @@ public class NotificationsPreferenceFragment extends ListSummaryPreferenceFragme
});
initializeListSummary((ListPreference) findPreference(Prefs.LED_COLOR_PREF));
- initializeListSummary((ListPreference) findPreference(Prefs.LED_BLINK_PREF));
initializeListSummary((ListPreference) findPreference(Prefs.NOTIFICATION_PRIVACY_PREF));
initializeListSummary((ListPreference) findPreference(Prefs.NOTIFICATION_PRIORITY_PREF));
diff --git a/src/org/thoughtcrime/securesms/util/Prefs.java b/src/org/thoughtcrime/securesms/util/Prefs.java
index 3452c8aeb..9bd745d63 100644
--- a/src/org/thoughtcrime/securesms/util/Prefs.java
+++ b/src/org/thoughtcrime/securesms/util/Prefs.java
@@ -42,9 +42,7 @@ public class Prefs {
private static final String CHAT_VIBRATE = "pref_chat_vibrate_"; // followed by chat-id
private static final String NOTIFICATION_PREF = "pref_key_enable_notifications";
public static final String LED_COLOR_PREF = "pref_led_color";
- public static final String LED_BLINK_PREF = "pref_led_blink";
- private static final String LED_BLINK_PREF_CUSTOM = "pref_led_blink_custom";
- public static final String CHAT_MUTED_UNTIL = "pref_chat_muted_until_"; // followed by chat-id
+ public static final String CHAT_MUTED_UNTIL = "pref_chat_muted_until_"; // followed by chat-id
private static final String CHAT_RINGTONE = "pref_chat_ringtone_"; // followed by chat-id
public static final String SCREEN_LOCK_TIMEOUT_INTERVAL_PREF = "pref_timeout_interval";
public static final String SCREEN_LOCK_TIMEOUT_PREF = "pref_timeout_passphrase";
@@ -269,14 +267,6 @@ public class Prefs {
return getStringPreference(context, LED_COLOR_PREF, "blue");
}
- public static String getNotificationLedPattern(Context context) {
- return getStringPreference(context, LED_BLINK_PREF, "500,2000");
- }
-
- public static String getNotificationLedPatternCustom(Context context) {
- return getStringPreference(context, LED_BLINK_PREF_CUSTOM, "500,2000");
- }
-
// mute
public static void setChatMuteDuration(DcContext context, int chatId, long duration) {