1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-01-01 12:54:07 +00:00

Check if reload succeeded

This commit is contained in:
M66B 2016-02-11 15:01:23 +01:00
parent a8f16d2d29
commit c0c5b2b94f

View file

@ -421,6 +421,9 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
stopNative(prev, false);
stopVPN(prev);
}
if (vpn == null)
throw new IllegalStateException("VPN start failed");
startNative(vpn, listAllowed);
}