[tor-commits] [orbot/master] Fixup 93bf7b24

n8fr8 at torproject.org n8fr8 at torproject.org
Wed Dec 22 21:55:09 UTC 2021


commit dbaf06be4533e301b0c91d553ec4203e23c2e057
Author: Tad <tad at spotco.us>
Date:   Mon Jul 12 15:58:07 2021 -0400

    Fixup 93bf7b24
---
 .../main/java/org/torproject/android/service/vpn/OrbotVpnManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orbotservice/src/main/java/org/torproject/android/service/vpn/OrbotVpnManager.java b/orbotservice/src/main/java/org/torproject/android/service/vpn/OrbotVpnManager.java
index ac68020a..9ebc869d 100644
--- a/orbotservice/src/main/java/org/torproject/android/service/vpn/OrbotVpnManager.java
+++ b/orbotservice/src/main/java/org/torproject/android/service/vpn/OrbotVpnManager.java
@@ -363,7 +363,7 @@ public class OrbotVpnManager implements Handler.Callback {
     private void startDNS(String pdnsPath, String torDnsHost, int torDnsPort, String pdnsdHost, int pdnsdPort) throws IOException, TimeoutException {
         String debugEnabledCmd = "";
         String debugEnabledConf = "off";
-        if (prefs.getBoolean(PREF_ENABLE_LOGGING, false)) {
+        if (Prefs.useDebugLogging()) {
             debugEnabledCmd = "-g";
             debugEnabledConf = "on";
         }





More information about the tor-commits mailing list