summaryrefslogtreecommitdiff
path: root/src/se/leap
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-03-17 21:06:43 +0100
committerParménides GV <parmegv@sdf.org>2014-03-29 01:38:36 +0100
commitf07435a05377710c6bb8572ea8c551e3ad858db5 (patch)
tree5ebc46f69cebc218192722b191afdc57072e4c72 /src/se/leap
parentb9fbeace1b3dc36f7d005f971ed6267634764160 (diff)
Eip starting => don't turn off the switch on EXIT.
This fixes #3161.
Diffstat (limited to 'src/se/leap')
-rw-r--r--src/se/leap/bitmaskclient/EipServiceFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/bitmaskclient/EipServiceFragment.java b/src/se/leap/bitmaskclient/EipServiceFragment.java
index 74755a5c..0534838d 100644
--- a/src/se/leap/bitmaskclient/EipServiceFragment.java
+++ b/src/se/leap/bitmaskclient/EipServiceFragment.java
@@ -179,7 +179,7 @@ public class EipServiceFragment extends Fragment implements StateListener, OnChe
statusMessage = getString(R.string.eip_state_connected); getActivity().findViewById(R.id.eipProgress).setVisibility(View.GONE);
mEipStartPending = false;
- } else if ( (state.equals("NOPROCESS") && !mEipStartPending ) || state.equals("EXITING") || state.equals("FATAL")) {
+ } else if ( (state.equals("NOPROCESS") && !mEipStartPending ) || state.equals("EXITING") && !mEipStartPending || state.equals("FATAL")) {
statusMessage = getString(R.string.eip_state_not_connected);
getActivity().findViewById(R.id.eipProgress).setVisibility(View.GONE);
mEipStartPending = false;