summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-10-06 16:56:58 +0200
committercyBerta <cyberta@riseup.net>2019-10-06 16:56:58 +0200
commite2b3fc49cfc84d97080ac406026442ea3115f7d1 (patch)
treece01f3379bcce4fe7690536017910560efe81823 /app/src/main
parenta2a9c263657e2df928c73aff3965f5b0529da854 (diff)
excluding apps from vpn is already allowed from API 21 (Lollipop)
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
index e3c7ac1b..c0652bb1 100644
--- a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
@@ -312,7 +312,7 @@ public class NavigationDrawerFragment extends Fragment {
}
private void initExcludeAppsEntry() {
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
IconTextEntry excludeApps = drawerView.findViewById(R.id.exclude_apps);
excludeApps.setVisibility(VISIBLE);
FragmentManagerEnhanced fragmentManager = new FragmentManagerEnhanced(getActivity().getSupportFragmentManager());