diff options
author | cyberta <cyberta@riseup.net> | 2017-11-09 10:34:27 -0800 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2017-11-09 10:34:27 -0800 |
commit | 925d13bcb57745ea0c37bf2d65a30b1fca4bd8bb (patch) | |
tree | 669c9a24bc154c6254ff04a6e93f34e91bd3eed6 /app/src/production/java/se/leap/bitmaskclient/ProviderDetailFragment.java | |
parent | f6e7474c37bd2ee65b290474f5ea601082ca7eb4 (diff) | |
parent | 0af3aaf6a05630d3c3fe2313221340827040ca7f (diff) |
Merge branch '8777_crashes_when_clicking_too_fast' into 'master'
8777 crashes when clicking too fast
See merge request leap/bitmask_android!16
Diffstat (limited to 'app/src/production/java/se/leap/bitmaskclient/ProviderDetailFragment.java')
-rw-r--r-- | app/src/production/java/se/leap/bitmaskclient/ProviderDetailFragment.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/src/production/java/se/leap/bitmaskclient/ProviderDetailFragment.java b/app/src/production/java/se/leap/bitmaskclient/ProviderDetailFragment.java index 08fc5f3d..da7f8763 100644 --- a/app/src/production/java/se/leap/bitmaskclient/ProviderDetailFragment.java +++ b/app/src/production/java/se/leap/bitmaskclient/ProviderDetailFragment.java @@ -3,7 +3,6 @@ package se.leap.bitmaskclient; import org.json.*; import se.leap.bitmaskclient.eip.*; -import se.leap.bitmaskclient.ProviderListContent.ProviderItem; import android.app.*; import android.content.*; @@ -80,7 +79,7 @@ public class ProviderDetailFragment extends DialogFragment { super.onCancel(dialog); SharedPreferences.Editor editor = getActivity().getSharedPreferences(Dashboard.SHARED_PREFERENCES, Activity.MODE_PRIVATE).edit(); editor.remove(Provider.KEY).remove(Constants.ALLOWED_ANON).remove(Constants.KEY).commit(); - interface_with_configuration_wizard.showAllProviders(); + interface_with_configuration_wizard.cancelAndShowAllProviders(); } public static DialogFragment newInstance() { @@ -104,7 +103,7 @@ public class ProviderDetailFragment extends DialogFragment { public void use_anonymously(); - public void showAllProviders(); + public void cancelAndShowAllProviders(); } ProviderDetailFragmentInterface interface_with_configuration_wizard; |