Activity 生命周期 系统EvenetLog回调
EventLog路径:
Android13/frameworks/base/core/java/android/app/EventLogTags.logtags
wm_on_create_called
wm_on_restart_called
wm_on_start_called
wm_on_resume_called
wm_on_top_resumed_gained_called
wm_on_top_resumed_lost_called
wm_on_paused_called
wm_on_stop_called
wm_on_destroy_called
1 # See system/core/logcat/event.logtags for a description of the format of this file.
2
3 option java_package android.app
4
5 # Do not change these names without updating the checkin_events setting in
6 # google3/googledata/wireless/android/provisioning/gservices.config !!
7 #
8 # The activity’s onPause has been called.
EventLogTags.writeWmOnPausedCalled(mIdent, getComponentName().getClassName(), “performPause”);
表示Activity的onPause被调用完成,这个状态处于不可接收输入事件,但还处于可见状态,不能在里面在耗时的操作会导致下一个界面启动慢导致ANR。
9 30021 wm_on_paused_called (T