This commit is contained in:
Rsplwe 2019-03-31 17:39:35 +08:00 committed by GitHub
parent ca34f79307
commit 3907732c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<String> apps = Daedalus.getPrefs().getStringSet("filterAppObjects", null);
if (apps != null) {
boolean mode = Daedalus.getPrefs().getBoolean("settings_app_filter_mode_switch", false);