fixed issue with network conn on main thread
This commit is contained in:
parent
12ee3d6033
commit
82deb40dae
|
@ -1127,7 +1127,14 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
_torInstance = this;
|
_torInstance = this;
|
||||||
initTorPaths();
|
initTorPaths();
|
||||||
|
|
||||||
|
new Thread ()
|
||||||
|
{
|
||||||
|
|
||||||
|
public void run ()
|
||||||
|
{
|
||||||
findExistingProc ();
|
findExistingProc ();
|
||||||
|
}
|
||||||
|
}.start();
|
||||||
|
|
||||||
if (ITorService.class.getName().equals(intent.getAction())) {
|
if (ITorService.class.getName().equals(intent.getAction())) {
|
||||||
return mBinder;
|
return mBinder;
|
||||||
|
|
Loading…
Reference in New Issue