[tor-commits] [orbot/master] status should update whether there is msg or not
n8fr8 at torproject.org
n8fr8 at torproject.org
Thu Jun 5 15:15:59 UTC 2014
commit 36a6349b6727c1679c7e747e2218f67af058a688
Author: Nathan Freitas <nathan at freitas.net>
Date: Fri May 30 11:26:48 2014 -0400
status should update whether there is msg or not
---
src/org/torproject/android/Orbot.java | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/org/torproject/android/Orbot.java b/src/org/torproject/android/Orbot.java
index 1848f9b..32726d3 100644
--- a/src/org/torproject/android/Orbot.java
+++ b/src/org/torproject/android/Orbot.java
@@ -862,13 +862,8 @@ 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());
-
- }
+ if (mService != null)
+ return new Integer(mService.getStatus());
}
catch (Exception e)
More information about the tor-commits
mailing list