Make FX sliders more responsive
Change-Id: I7e15047708d724013247d9ad184a5630aa7c84bb
diff --git a/src/com/android/musicfx/ControlPanelEffect.java b/src/com/android/musicfx/ControlPanelEffect.java
index 509ad0b..8abb4f3 100644
--- a/src/com/android/musicfx/ControlPanelEffect.java
+++ b/src/com/android/musicfx/ControlPanelEffect.java
@@ -731,7 +731,7 @@
// Set preferences
editor.putInt(strKey, value);
- editor.commit();
+ editor.apply();
} catch (final RuntimeException e) {
Log.e(TAG, "setParameterInt: " + key + "; " + arg0 + "; " + arg1 + "; " + e);