diff options
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java b/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java index 2dfcf8c5..58f1458b 100644 --- a/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java +++ b/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java @@ -332,6 +332,7 @@ public class OpenVpnManagementThread implements Runnable, OpenVPNManagement { }
private void handleHold(String argument) {
+ mWaitingForRelease = true;
int waittime = Integer.parseInt(argument.split(":")[1]);
if (shouldBeRunning()) {
if (waittime > 1)
@@ -344,10 +345,7 @@ public class OpenVpnManagementThread implements Runnable, OpenVPNManagement { VpnStatus.logDebug(R.string.state_waitconnectretry, String.valueOf(waittime));
} else {
- mWaitingForRelease = true;
-
VpnStatus.updateStatePause(lastPauseReason);
-
}
}
|