Commit 1abea5d9 authored by fallenstardust's avatar fallenstardust

唤醒时从onStart执行

parent b6eabcb9
...@@ -144,6 +144,11 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie ...@@ -144,6 +144,11 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
protected void onResume() { protected void onResume() {
super.onResume(); super.onResume();
BacktoDuel(); BacktoDuel();
}
@Override
protected void onStart(){
super.onStart();
Handler handler = new Handler(); Handler handler = new Handler();
handler.postDelayed(new Runnable() { handler.postDelayed(new Runnable() {
@Override @Override
...@@ -690,6 +695,5 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie ...@@ -690,6 +695,5 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
} }
}); });
}); });
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment