If there is no control connection, OnionProxyManager throws IllegalStateException on isRunning and isNetworkEnabled . These are Boolean checks so we should just return false if there is no control connection. Propagating this RuntimeException up the stack can cause unexpected crashes.
If there is no control connection, OnionProxyManager throws IllegalStateException on isRunning and isNetworkEnabled . These are Boolean checks so we should just return false if there is no control connection. Propagating this RuntimeException up the stack can cause unexpected crashes.