[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] remove delayed handling of Intents in OrbotMainActivity



commit adf7c09f0e78bc0ea6fc60cc6430fff7140beb95
Author: Hans-Christoph Steiner <hans@xxxxxxx>
Date:   Wed Jun 17 11:15:31 2015 -0400

    remove delayed handling of Intents in OrbotMainActivity
    
    This is a leftover bit from the old structure, it should no longer be
    needed and it causes the status updates to be noticeably delayed so when
    OrbotMainActivity is started after being killed, it flashes OFF then ON.
---
 src/org/torproject/android/OrbotMainActivity.java |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/src/org/torproject/android/OrbotMainActivity.java b/src/org/torproject/android/OrbotMainActivity.java
index d0d088b..15af8b9 100644
--- a/src/org/torproject/android/OrbotMainActivity.java
+++ b/src/org/torproject/android/OrbotMainActivity.java
@@ -1010,18 +1010,7 @@ public class OrbotMainActivity extends Activity
 			mBtnBridges.setChecked(Prefs.bridgesEnabled());
         }
 
-        mStatusUpdateHandler.postDelayed(new Runnable ()
-        {
-            public void run ()
-            {
-        
-                handleIntents();
-
-            }
-        }
-        , 500);
-        
-        
+        handleIntents();
     }
 
     AlertDialog aDialog = null;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits