onResume() must finish before we call some APIs

This commit is contained in:
Nathan Freitas 2014-11-24 13:11:14 -05:00
parent 406d83cb50
commit 611558218d
1 changed files with 13 additions and 4 deletions

View File

@ -902,9 +902,18 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
protected void onResume() {
super.onResume();
setLocale();
mHandler.postDelayed(new Runnable ()
{
public void run ()
{
handleIntents();
setLocale();
handleIntents();
}
}
, 500);
}