[Android] Preferences: fix hardcoded key...

Jean-Baptiste Kempf git at videolan.org
Sat May 23 17:39:02 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 17:38:07 2015 +0200| [7a64768d4d63dadc840dea0506aac4b419137e21] | committer: Jean-Baptiste Kempf

Preferences: fix hardcoded key...

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=7a64768d4d63dadc840dea0506aac4b419137e21
---

 vlc-android/src/org/videolan/vlc/util/Preferences.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/util/Preferences.java b/vlc-android/src/org/videolan/vlc/util/Preferences.java
index a592ba3..a33616e 100644
--- a/vlc-android/src/org/videolan/vlc/util/Preferences.java
+++ b/vlc-android/src/org/videolan/vlc/util/Preferences.java
@@ -50,7 +50,7 @@ public class Preferences {
             JSONArray json = new JSONArray();
             for (float f : array)
                 json.put(f);
-            editor.putString("equalizer_values", json.toString());
+            editor.putString(key, json.toString());
         } catch (JSONException e) {
             e.printStackTrace();
         }



More information about the Android mailing list