1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-09-07 15:05:25 +02:00

Fix the previous fix ;-)

This commit is contained in:
cpfeiffer 2016-10-11 21:35:45 +02:00
parent 1fc44034f0
commit a559140f67

View File

@ -93,7 +93,8 @@ public class MiBandPreferencesActivity extends AbstractSettingsActivity {
prefKeys.add(getNotificationPrefKey(VIBRATION_COUNT, ORIGIN_INCOMING_CALL)); prefKeys.add(getNotificationPrefKey(VIBRATION_COUNT, ORIGIN_INCOMING_CALL));
for (NotificationType type : NotificationType.values()) { for (NotificationType type : NotificationType.values()) {
prefKeys.add(type.getGenericType()); String key = type.getGenericType();
prefKeys.add(getNotificationPrefKey(VIBRATION_COUNT, key));
} }
return prefKeys.toArray(new String[0]); return prefKeys.toArray(new String[0]);