summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/eip
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2024-04-26 18:52:43 +0200
committercyBerta <cyberta@riseup.net>2024-04-26 18:52:43 +0200
commitac5b6bd42ab100661830f8f64ba2291606866c6c (patch)
treefd7797e3c3f9e1c78bc8d3d1ddaa21c1212087e1 /app/src/main/java/se/leap/bitmaskclient/eip
parent19da621bebb11c1ca6723959e668ad0258929097 (diff)
allow during the initial setup to re-launch the app and resume in the configuration UI
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/eip')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java b/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java
index e96ded90..adb0fdc7 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java
@@ -244,7 +244,7 @@ public class EipSetupObserver extends BroadcastReceiver implements VpnStatus.Sta
Log.d(TAG, "PROVIDER OK - FETCH SUCCESSFUL");
//no break, continue with next case
case CORRECTLY_DOWNLOADED_VPN_CERTIFICATE:
- if (ProviderSetupObservable.getProgress() > 0 && !activityForeground.get()) {
+ if (ProviderSetupObservable.isSetupRunning() && !activityForeground.get()) {
ProviderSetupObservable.storeLastResult(resultCode, resultData);
}
break;