onResume() must finish before we call some APIs
This commit is contained in:
parent
406d83cb50
commit
611558218d
|
@ -902,11 +902,20 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
|
||||||
protected void onResume() {
|
protected void onResume() {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
|
|
||||||
setLocale();
|
mHandler.postDelayed(new Runnable ()
|
||||||
|
{
|
||||||
handleIntents();
|
public void run ()
|
||||||
|
{
|
||||||
|
|
||||||
|
setLocale();
|
||||||
|
|
||||||
|
handleIntents();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
, 500);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AlertDialog aDialog = null;
|
AlertDialog aDialog = null;
|
||||||
|
|
Loading…
Reference in New Issue