commit 36a6349b6727c1679c7e747e2218f67af058a688
Author: Nathan Freitas <[email protected]>
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)



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to