summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-03-09 16:26:37 +0100
committercyBerta <cyberta@riseup.net>2019-03-09 16:26:37 +0100
commitfdf1d380f4329bcbef825ace4ecf8be3db6ab18d (patch)
treebb698d9dd7fc21d588e0c76a905628395ef8fbf5 /app/src
parentd5658c71fe093d687e1c25cfdd3e63b72a99d96f (diff)
store provider if vpn certificate was updated correctly
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java b/app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java
index 16b8c240..d9a6121b 100644
--- a/app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java
+++ b/app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java
@@ -142,6 +142,7 @@ class EipSetupObserver extends BroadcastReceiver implements VpnStatus.StateListe
case CORRECTLY_UPDATED_INVALID_VPN_CERTIFICATE:
provider = resultData.getParcelable(PROVIDER_KEY);
ProviderObservable.getInstance().updateProvider(provider);
+ PreferenceHelper.storeProviderInPreferences(preferences, provider);
EipCommand.startVPN(context.getApplicationContext(), true);
break;
default: