Instrumentation->execStartActivity
|
AMS
|
IApplicationThread 这个接口里面包含了启动Activity,销毁Activity,启动Service,销毁Service等方法,ApplicationThread继承自IApplicationThrad
ApplicationThread scheduleLaunchActivity->给一个叫做H的Handler发送一条消息->H会调用到ActivityThread的performLauchActivity
ActivityThread performLauchActivity->handleonCreate->handleonResume->......依次调用Activity的生命周期