summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/ProviderDetailFragment.java
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-07-12 11:55:29 -0600
committerSean Leonard <meanderingcode@aetherislands.net>2013-07-12 11:55:29 -0600
commit4bb6f30a63fb45ab5256b65c40a46979e8ece6ab (patch)
treec5af8bcb102434d3685adfa1793368c8a99ffaa0 /src/se/leap/leapclient/ProviderDetailFragment.java
parent6a8a4acdca2c0828c2768a18a470ee64525e0d7f (diff)
parent6d532dd2d1a159d0053f5247db7d0c5480ce081e (diff)
Merge branch 'feature/switch-provider-from-provider-detail-fragment' into develop
Diffstat (limited to 'src/se/leap/leapclient/ProviderDetailFragment.java')
-rw-r--r--src/se/leap/leapclient/ProviderDetailFragment.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/se/leap/leapclient/ProviderDetailFragment.java b/src/se/leap/leapclient/ProviderDetailFragment.java
index 3b6cf83c..0b707d3e 100644
--- a/src/se/leap/leapclient/ProviderDetailFragment.java
+++ b/src/se/leap/leapclient/ProviderDetailFragment.java
@@ -74,6 +74,12 @@ public class ProviderDetailFragment extends DialogFragment {
return false;
}
}
+
+ @Override
+ public void onCancel(DialogInterface dialog) {
+ super.onCancel(dialog);
+ ConfigHelper.removeFromSharedPref(ConfigHelper.PROVIDER_KEY);
+ }
public static DialogFragment newInstance() {
ProviderDetailFragment provider_detail_fragment = new ProviderDetailFragment();