status should update whether there is msg or not

This commit is contained in:
Nathan Freitas 2014-05-30 11:26:48 -04:00
parent 25f6499f6b
commit 36a6349b67
1 changed files with 2 additions and 7 deletions

View File

@ -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