status should update whether there is msg or not
This commit is contained in:
parent
25f6499f6b
commit
36a6349b67
|
@ -862,15 +862,10 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
|
|||
int newTorStatus = -1;
|
||||
try
|
||||
{
|
||||
if (mTorServiceMsg != null && mTorServiceMsg.length()>0)
|
||||
{
|
||||
//if the serivce is bound, query it for the curren status value (int)
|
||||
if (mService != null)
|
||||
return new Integer(mService.getStatus());
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
//error
|
||||
|
|
Loading…
Reference in New Issue