From d27af3b17d6636de8b2755090b6fe6329531f639 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Thu, 4 Nov 2021 16:45:54 +0100 Subject: remove unused UNKNOWN TorStatus state --- app/src/main/java/se/leap/bitmaskclient/tor/TorStatusObservable.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app/src/main') 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 fb7e4d93..f4f0ff11 100644 --- a/app/src/main/java/se/leap/bitmaskclient/tor/TorStatusObservable.java +++ b/app/src/main/java/se/leap/bitmaskclient/tor/TorStatusObservable.java @@ -22,7 +22,7 @@ public class TorStatusObservable extends Observable { OFF, STARTING, STOPPING, - UNKOWN + // UNKOWN } private boolean cancelled = false; @@ -31,7 +31,7 @@ public class TorStatusObservable extends Observable { public static final String LOG_TAG_SNOWFLAKE = "[SNOWFLAKE]"; private static TorStatusObservable instance; - private TorStatus status = TorStatus.UNKOWN; + private TorStatus status = TorStatus.OFF; private final TorNotificationManager torNotificationManager; private String lastError; private String lastTorLog; @@ -196,7 +196,6 @@ public class TorStatusObservable extends Observable { case STOPPING: return context.getString(R.string.tor_stopping); case OFF: - case UNKOWN: break; } return null; -- cgit v1.2.3