diff options
author | Arne Schwabe <arne@rfc2549.org> | 2017-06-05 15:16:50 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2017-06-05 15:16:50 +0200 |
commit | c42ca589361afc8a703edaef5f2bca7c81142952 (patch) | |
tree | dd8b6863b1762fbd74211c39f29aa4ec5effa7b1 /main | |
parent | 4cc3230b6427a06ef6f81127cceb5ea875603e4c (diff) |
Possible fix for #612
Diffstat (limited to 'main')
-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);
-
}
}
|