summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/tor/TorStatusObservable.java6
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) {