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;
|
||||
initTorPaths();
|
||||
|
||||
findExistingProc ();
|
||||
new Thread ()
|
||||
{
|
||||
|
||||
public void run ()
|
||||
{
|
||||
findExistingProc ();
|
||||
}
|
||||
}.start();
|
||||
|
||||
if (ITorService.class.getName().equals(intent.getAction())) {
|
||||
return mBinder;
|
||||
|
|
Loading…
Reference in New Issue