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;
|
autoStartOnBind = true;
|
||||||
|
|
||||||
if (mService == null)
|
if (mService == null)
|
||||||
|
{
|
||||||
bindService();
|
bindService();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//already running!
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue