diff options
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) |