fixed issue with network conn on main thread

This commit is contained in:
Nathan Freitas 2012-02-26 23:38:34 -05:00
parent 12ee3d6033
commit 82deb40dae
1 changed files with 9 additions and 2 deletions

View File

@ -1127,8 +1127,15 @@ 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;
}