diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-06-23 17:09:52 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-06-23 17:09:52 +0200 |
commit | 0e76e955ba4848b18ee458cb9f53cc8e64671146 (patch) | |
tree | 818cb149d78d508dcc34fa6cdfc3e94e3655db4b /src/de/blinkt/openvpn/api/ExternalAppDatabase.java | |
parent | 180642560ef5c8a0139dcd50c1a7fa949c0c20f4 (diff) |
Fix issues found by Code Analysis
Diffstat (limited to 'src/de/blinkt/openvpn/api/ExternalAppDatabase.java')
-rw-r--r-- | src/de/blinkt/openvpn/api/ExternalAppDatabase.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/de/blinkt/openvpn/api/ExternalAppDatabase.java b/src/de/blinkt/openvpn/api/ExternalAppDatabase.java index e640a13a..02c369b1 100644 --- a/src/de/blinkt/openvpn/api/ExternalAppDatabase.java +++ b/src/de/blinkt/openvpn/api/ExternalAppDatabase.java @@ -26,9 +26,8 @@ public class ExternalAppDatabase { } public Set<String> getExtAppList() { - SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext); - Set<String> allowedapps = prefs.getStringSet(PREFERENCES_KEY, new HashSet<String>()); - return allowedapps; + SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext); + return prefs.getStringSet(PREFERENCES_KEY, new HashSet<String>()); } void addApp(String packagename) |