only bind service if variable currently null
This commit is contained in:
parent
8b6133ff26
commit
e206a241ab
|
@ -390,8 +390,13 @@ public class Orbot extends Activity implements OnLongClickListener, TorConstants
|
|||
autoStartOnBind = true;
|
||||
|
||||
if (mService == null)
|
||||
{
|
||||
bindService();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//already running!
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue