Merge branch 'master' into usage

This commit is contained in:
M66B 2016-02-15 20:24:46 +01:00
commit 12d4dbfb6e
1 changed files with 4 additions and 0 deletions

View File

@ -377,6 +377,10 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
if (prev != null && vpn == null) {
Log.w(TAG, "Handover failed");
stopVPN(prev);
try {
Thread.sleep(3000);
} catch (InterruptedException ignored) {
}
prev = null;
vpn = startVPN(listAllowed);
if (vpn == null)