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.
This commit is contained in:
parent
c9e31020e0
commit
adf7c09f0e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue