diff options
author | cyBerta <cyberta@riseup.net> | 2023-10-26 15:57:11 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2023-10-26 15:57:11 +0200 |
commit | f74107e3c47824e1cf4fdbc415d32871eb85f83c (patch) | |
tree | 15f7a3917c7b32cdb229b8beddfa848bb6c25990 | |
parent | 2eb98255755f8aff09dd8ab0858072a2037087d0 (diff) |
fix possible NPE in ProviderSetupObservable
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java index 56ef357b..90a32fea 100644 --- a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java +++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderSetupObservable.java @@ -47,7 +47,7 @@ public class ProviderSetupObservable extends Observable { } public static void updateProgress(int progress) { - if (instance.canceled) { + if (getInstance().canceled) { return; } long now = System.currentTimeMillis(); |