summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/hardware')
-rw-r--r--src/com/android/settings/hardware/VibratorIntensity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/settings/hardware/VibratorIntensity.java b/src/com/android/settings/hardware/VibratorIntensity.java
index e847933..e55d456 100644
--- a/src/com/android/settings/hardware/VibratorIntensity.java
+++ b/src/com/android/settings/hardware/VibratorIntensity.java
@@ -166,8 +166,7 @@ public class VibratorIntensity extends DialogPreference implements
int percent = prefs.getInt(PREF_NAME, defaultValue);
CMSettings.Secure.putInt(context.getContentResolver(),
- CMSettings.Secure.VIBRATOR_INTENSITY, percentToIntensity(min, max,
- percentToIntensity(min, max, percent)));
+ CMSettings.Secure.VIBRATOR_INTENSITY, percentToIntensity(min, max, percent));
}
@Override