create new thread for connecting to existing process
don't rely on executor yet, as we need it to happen fast
This commit is contained in:
parent
ea37b44fa3
commit
3698e46105
|
@ -575,7 +575,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
logNotice("There was an error installing Orbot binaries");
|
logNotice("There was an error installing Orbot binaries");
|
||||||
}
|
}
|
||||||
|
|
||||||
mExecutor.execute(new Runnable ()
|
new Thread(new Runnable ()
|
||||||
{
|
{
|
||||||
public void run ()
|
public void run ()
|
||||||
{
|
{
|
||||||
|
@ -589,7 +589,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
}).start();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -651,7 +651,6 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
String transPort = prefs.getString("pref_transport", TorServiceConstants.TOR_TRANSPROXY_PORT_DEFAULT+"");
|
String transPort = prefs.getString("pref_transport", TorServiceConstants.TOR_TRANSPROXY_PORT_DEFAULT+"");
|
||||||
String dnsPort = prefs.getString("pref_dnsport", TorServiceConstants.TOR_DNS_PORT_DEFAULT+"");
|
String dnsPort = prefs.getString("pref_dnsport", TorServiceConstants.TOR_DNS_PORT_DEFAULT+"");
|
||||||
|
|
||||||
|
|
||||||
if (mTransProxyTethering)
|
if (mTransProxyTethering)
|
||||||
{
|
{
|
||||||
extraLines.append("TransListenAddress 0.0.0.0").append('\n');
|
extraLines.append("TransListenAddress 0.0.0.0").append('\n');
|
||||||
|
|
Loading…
Reference in New Issue