diff options
author | cyBerta <cyberta@riseup.net> | 2024-02-26 21:33:52 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2024-02-26 21:33:52 +0100 |
commit | 5b07bb3df03cc95d6b50a8eec2bd30563a6d5b43 (patch) | |
tree | 3737978877d4779221680e4591d792fc795796a3 /app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/CircumventionSetupFragment.java | |
parent | 2522e75f41b2bc2f3d21baee09338527f271ba7c (diff) |
save manually added providers in encrypted shared preferences instead of external files dir
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/CircumventionSetupFragment.java')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/CircumventionSetupFragment.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/CircumventionSetupFragment.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/CircumventionSetupFragment.java index cdb8bd78..58fccc65 100644 --- a/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/CircumventionSetupFragment.java +++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/CircumventionSetupFragment.java @@ -78,8 +78,7 @@ public class CircumventionSetupFragment extends BaseSetupFragment implements Can } private void loadProviderFromAssets() { - ProviderManager providerManager = ProviderManager.getInstance(getContext().getApplicationContext().getAssets(), - getContext().getExternalFilesDir(null)); + ProviderManager providerManager = ProviderManager.getInstance(getContext().getApplicationContext().getAssets()); providerManager.setAddDummyEntry(false); setupActivityCallback.onProviderSelected(providerManager.providers().get(0)); } |