[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit dbaf06be4533e301b0c91d553ec4203e23c2e057
Author: Tad <tad@xxxxxxxxx>
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";
         }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits