diff options
author | cyBerta <cyberta@riseup.net> | 2021-11-06 00:52:23 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-06 00:52:23 +0100 |
commit | 8a7b455f011842d17de687b7cbb2b6589b78ac3f (patch) | |
tree | 05b7c182266d10b2682d43dfed54ae0d303585e6 /app/src/main | |
parent | 319a2fa28a148b6aeee27dd1304f6d99a96998ab (diff) |
initiate tor status logs with empty strings
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/tor/TorStatusObservable.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/tor/TorStatusObservable.java b/app/src/main/java/se/leap/bitmaskclient/tor/TorStatusObservable.java index eca0f555..3be4ce12 100644 --- a/app/src/main/java/se/leap/bitmaskclient/tor/TorStatusObservable.java +++ b/app/src/main/java/se/leap/bitmaskclient/tor/TorStatusObservable.java @@ -52,8 +52,8 @@ public class TorStatusObservable extends Observable { private SnowflakeStatus snowflakeStatus = SnowflakeStatus.OFF; private final TorNotificationManager torNotificationManager; private String lastError; - private String lastTorLog; - private String lastSnowflakeLog; + private String lastTorLog = ""; + private String lastSnowflakeLog = ""; private int port = -1; private int bootstrapPercent = -1; private Vector<String> lastLogs = new Vector<>(100); @@ -253,7 +253,7 @@ public class TorStatusObservable extends Observable { case OFF: break; } - return null; + return ""; } public static void shutdownTor(Context context) { |