4. ActivityManagerService 的启动流程
2016-09-03 16:21:29 0 举报
am
作者其他创作
大纲/内容
SystemServer.java
之后调用ActivityManagerService的start()
startOtherServices
ActivityManagerService.java
mSystemServiceManager.startService( ActivityManagerService.Lifecycle.class)
startCoreServices()
startHomeActivityLocked启动Home App
SystemServer().run();
main()
mActivityManagerService.systemReady(new Runnable()
Constructor constructor = serviceClass.getConstructor(Context.class);
http://blog.csdn.net/ccjhdopc/article/details/52712280
startBootstrapServices()
SystemServiceManager.java
service = constructor.newInstance(mContext);
mServices.add(service);
service.onStart() //实际调用LifeCycle的onStart()
mService = new ActivityManagerService(context);
0 条评论
下一页