summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-08-18 18:16:35 +0200
committerParménides GV <parmegv@sdf.org>2014-08-18 18:16:35 +0200
commit3ae1611abd6fac522712f0f5195bc07441923999 (patch)
tree80d47d879007073e63116d79815a90ea23075eca
parentd335503ffa00602aaccd1abf0549de50f788cc2d (diff)
parent54df9ad7e28825fd6c761ed4bd64412811142cac (diff)
Merge branch 'bug/Switching-provider-doesn't-clear-previous-vpn-certificate-#5991' into develop
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/Dashboard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/Dashboard.java b/app/src/main/java/se/leap/bitmaskclient/Dashboard.java
index 15819472..fe546a21 100644
--- a/app/src/main/java/se/leap/bitmaskclient/Dashboard.java
+++ b/app/src/main/java/se/leap/bitmaskclient/Dashboard.java
@@ -257,7 +257,7 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
}
eipStop();
}
- getSharedPreferences(Dashboard.SHARED_PREFERENCES, MODE_PRIVATE).edit().clear();
+ getSharedPreferences(Dashboard.SHARED_PREFERENCES, MODE_PRIVATE).edit().clear().commit();
startActivityForResult(new Intent(this,ConfigurationWizard.class), SWITCH_PROVIDER);
return true;
case R.id.login_button: