diff options
author | cyberta <cyberta@riseup.net> | 2021-11-25 02:27:53 +0000 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2021-11-25 02:27:53 +0000 |
commit | dcee5f2fa1dc67e5b08223db3441da8bd38e8b20 (patch) | |
tree | 7f9ecf27ea203335fddcee3085d55e0c7fe5b8cf /app/src/main/java/se/leap/bitmaskclient/tor | |
parent | 5a2ff7c85f13fe2e875e4ca7ec4192df0e896d01 (diff) | |
parent | 4795e984c940a7bbf1c2e2cae6e5eb1cf143ba4e (diff) |
Merge branch 'snowflake_ui' into 'master'
implement UI to enable/disable tor in settings fragment
See merge request leap/bitmask_android!146
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/tor')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/tor/TorServiceCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/tor/TorServiceCommand.java b/app/src/main/java/se/leap/bitmaskclient/tor/TorServiceCommand.java index 461ee356..68988b67 100644 --- a/app/src/main/java/se/leap/bitmaskclient/tor/TorServiceCommand.java +++ b/app/src/main/java/se/leap/bitmaskclient/tor/TorServiceCommand.java @@ -126,7 +126,7 @@ public class TorServiceCommand { private static TorServiceConnection initTorServiceConnection(Context context) throws InterruptedException, IllegalStateException { Log.d(TAG, "initTorServiceConnection"); - if (PreferenceHelper.getUseTor(context)) { + if (PreferenceHelper.getUseSnowflake(context)) { Log.d(TAG, "serviceConnection is still null"); if (!TorService.hasClientTransportPlugin()) { TorService.setClientTransportPlugin(new ClientTransportPlugin(context.getApplicationContext())); |