summaryrefslogtreecommitdiff
path: root/vpndialogxposed/src
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-06-30 14:34:43 +0200
committerArne Schwabe <arne@rfc2549.org>2014-06-30 14:34:43 +0200
commitd3aa9f835d7fd5f53d3a0da6778d46a7067bf074 (patch)
treeab7c13de842ea09c3748e85721b65c5bc474f0cf /vpndialogxposed/src
parentfac9b474fb71a90945882652eb52f17c95032665 (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')
-rw-r--r--vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java6
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();
}