1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-01-01 21:04:08 +00:00

Require Android 7 for network callbacks

This commit is contained in:
M66B 2017-08-23 22:34:11 +02:00
parent 22e59d6094
commit 639c25f3e1

View file

@ -2214,7 +2214,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
registerReceiver(packageChangedReceiver, ifPackage);
registeredPackageChanged = true;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
try {
listenNetworkChanges();
} catch (Throwable ex) {