From a559140f674ea2d59886080c9034d3432f7f794b Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Tue, 11 Oct 2016 21:35:45 +0200 Subject: [PATCH] Fix the previous fix ;-) --- .../gadgetbridge/devices/miband/MiBandPreferencesActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/miband/MiBandPreferencesActivity.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/miband/MiBandPreferencesActivity.java index f35aaa59c..c96128ae6 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/miband/MiBandPreferencesActivity.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/miband/MiBandPreferencesActivity.java @@ -93,7 +93,8 @@ public class MiBandPreferencesActivity extends AbstractSettingsActivity { prefKeys.add(getNotificationPrefKey(VIBRATION_COUNT, ORIGIN_INCOMING_CALL)); 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]);