diff options
author | Parménides GV <parmegv@sdf.org> | 2015-03-13 15:28:59 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2015-03-13 15:28:59 +0100 |
commit | 429295bd6ee5f2caa57c287e74392c80aed25f20 (patch) | |
tree | 951421cca40bb22d3c15025b2b167f08e3db6d76 /app/src/debug/java | |
parent | ca237c5c17740f1a01b480a83843175ee4d1d947 (diff) |
If a provider fails to be configured, go back to CW.
Diffstat (limited to 'app/src/debug/java')
-rw-r--r-- | app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java b/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java index d28bb690..ed2a063c 100644 --- a/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java +++ b/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java @@ -215,7 +215,8 @@ implements NewProviderDialogInterface, ProviderDetailFragmentInterface, Download setResult(RESULT_OK); } else if(resultCode == ProviderAPI.INCORRECTLY_DOWNLOADED_CERTIFICATE) { hideProgressBar(); - + cancelSettingUpProvider(); + Toast.makeText(getApplicationContext(), R.string.provider_problem, Toast.LENGTH_LONG).show(); setResult(RESULT_CANCELED, mConfigState); } else if(resultCode == AboutActivity.VIEWED) { // Do nothing, right now |