android: Clear remediation instructions when starting a new connection
authorTobias Brunner <tobias@strongswan.org>
Thu, 26 Sep 2013 11:00:45 +0000 (13:00 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 26 Sep 2013 11:00:45 +0000 (13:00 +0200)
src/frontends/android/src/org/strongswan/android/logic/VpnStateService.java

index 3b75a8f..7b40e94 100644 (file)
@@ -256,6 +256,7 @@ public class VpnStateService extends Service
                                VpnStateService.this.mState = State.CONNECTING;
                                VpnStateService.this.mError = ErrorState.NO_ERROR;
                                VpnStateService.this.mImcState = ImcState.UNKNOWN;
+                               VpnStateService.this.mRemediationInstructions.clear();
                                return true;
                        }
                });