diff options
author | cyBerta <cyberta@riseup.net> | 2021-10-02 13:36:31 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-10-02 13:36:31 +0200 |
commit | cdd97d8bcc65ad80ed1060b297650b8350b27a56 (patch) | |
tree | 068288919fcf5a5f22a43f48dc82497c3c007e91 /app | |
parent | 80bf751141c85316c22a0d16c1e4d6fa0f473f44 (diff) |
add log to see if a fetch was successful
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java | 6 |
1 files changed, 6 insertions, 0 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 1a2d8769..a71a5613 100644 --- a/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java +++ b/app/src/main/java/se/leap/bitmaskclient/eip/EipSetupObserver.java @@ -73,6 +73,7 @@ import static se.leap.bitmaskclient.providersetup.ProviderAPI.INCORRECTLY_DOWNLO import static se.leap.bitmaskclient.providersetup.ProviderAPI.INCORRECTLY_DOWNLOADED_VPN_CERTIFICATE; import static se.leap.bitmaskclient.providersetup.ProviderAPI.INCORRECTLY_UPDATED_INVALID_VPN_CERTIFICATE; import static se.leap.bitmaskclient.providersetup.ProviderAPI.PROVIDER_NOK; +import static se.leap.bitmaskclient.providersetup.ProviderAPI.PROVIDER_OK; import static se.leap.bitmaskclient.tor.TorStatusObservable.TorStatus.OFF; /** @@ -213,6 +214,11 @@ public class EipSetupObserver extends BroadcastReceiver implements VpnStatus.Sta Intent stopIntent = new Intent(context, TorService.class); context.stopService(stopIntent); } + Log.d(TAG, "PROVIDER NOK - FETCH FAILED"); + break; + case PROVIDER_OK: + Log.d(TAG, "PROVIDER OK - FETCH SUCCESSFUL"); + break; default: break; } |