From 3907732c719be88d5f16612bb2be3b64bedf6fba Mon Sep 17 00:00:00 2001 From: Rsplwe Date: Sun, 31 Mar 2019 17:39:35 +0800 Subject: [PATCH] fix bug --- .../java/org/itxtech/daedalus/service/DaedalusVpnService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/itxtech/daedalus/service/DaedalusVpnService.java b/app/src/main/java/org/itxtech/daedalus/service/DaedalusVpnService.java index 5fd4a53..1b7a20b 100644 --- a/app/src/main/java/org/itxtech/daedalus/service/DaedalusVpnService.java +++ b/app/src/main/java/org/itxtech/daedalus/service/DaedalusVpnService.java @@ -244,7 +244,7 @@ public class DaedalusVpnService extends VpnService implements Runnable { PendingIntent.FLAG_ONE_SHOT)); //Set App Filter - if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP && Daedalus.getPrefs().getBoolean("settings_app_filter_switch", false)) { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && Daedalus.getPrefs().getBoolean("settings_app_filter_switch", false)) { Set apps = Daedalus.getPrefs().getStringSet("filterAppObjects", null); if (apps != null) { boolean mode = Daedalus.getPrefs().getBoolean("settings_app_filter_mode_switch", false);