diff options
author | Arne Schwabe <arne@rfc2549.org> | 2014-06-30 14:34:43 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2014-06-30 14:34:43 +0200 |
commit | d3aa9f835d7fd5f53d3a0da6778d46a7067bf074 (patch) | |
tree | ab7c13de842ea09c3748e85721b65c5bc474f0cf /vpndialogxposed/src/main | |
parent | fac9b474fb71a90945882652eb52f17c95032665 (diff) |
fix lint reported issues
--HG--
rename : main/src/main/res/values-id/arrays.xml => main/src/main/res/values-in/arrays.xml
rename : main/src/main/res/values-id/strings.xml => main/src/main/res/values-in/strings.xml
Diffstat (limited to 'vpndialogxposed/src/main')
-rw-r--r-- | vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java b/vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java index 199f23fb..638ca2ba 100644 --- a/vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java +++ b/vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java @@ -56,8 +56,10 @@ public class AllowedVPNsChooser extends ListActivity { private void saveAllowedApps(Set<String> allowedApps) { SharedPreferences prefs = getPreferences(MODE_WORLD_READABLE); - prefs.edit().putStringSet(ALLOWED_APPS,allowedApps) - .putInt("random",new Random().nextInt()).apply(); + SharedPreferences.Editor prefeditor = prefs.edit(); + prefeditor.putStringSet(ALLOWED_APPS,allowedApps); + prefeditor.putInt("random",new Random().nextInt()); + prefeditor.apply(); } |