From e2b3fc49cfc84d97080ac406026442ea3115f7d1 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sun, 6 Oct 2019 16:56:58 +0200 Subject: excluding apps from vpn is already allowed from API 21 (Lollipop) --- .../java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') 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()); -- cgit v1.2.3