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 | |
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
-rwxr-xr-x | main/misc/fetchtranslations.sh | 2 | ||||
-rwxr-xr-x | main/src/main/res/values-in/arrays.xml (renamed from main/src/main/res/values-id/arrays.xml) | 0 | ||||
-rwxr-xr-x | main/src/main/res/values-in/strings.xml (renamed from main/src/main/res/values-id/strings.xml) | 0 | ||||
-rw-r--r-- | vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java | 6 |
4 files changed, 5 insertions, 3 deletions
diff --git a/main/misc/fetchtranslations.sh b/main/misc/fetchtranslations.sh index d92c24b5..fc2f0672 100755 --- a/main/misc/fetchtranslations.sh +++ b/main/misc/fetchtranslations.sh @@ -26,7 +26,7 @@ do elif [ $lang = "zh-TW" ] ; then rlang="zh-rTW" elif [ $lang = "id" ] ; then - rlang="id" + rlang="in" fi echo "Fetch archive for $lang" diff --git a/main/src/main/res/values-id/arrays.xml b/main/src/main/res/values-in/arrays.xml index 1b30a740..1b30a740 100755 --- a/main/src/main/res/values-id/arrays.xml +++ b/main/src/main/res/values-in/arrays.xml diff --git a/main/src/main/res/values-id/strings.xml b/main/src/main/res/values-in/strings.xml index 0a7d32b0..0a7d32b0 100755 --- a/main/src/main/res/values-id/strings.xml +++ b/main/src/main/res/values-in/strings.xml 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(); } |