<Android Development> Android Kernel System Development - Detailed Startup Process (Part 3 Startup Analysis of Key System Services - Continued)
Following the previous article, the handleChildProc function will call the running application, and the application will be executed to ActivityManagerService after a series of operations. For the detailed process, you can check the complete startup process of the relevant application for a detailed understanding. The subsequent author has Related articles will be published in due course.
Continue the analysis below.
When running into ActivityManagerService, ActivityManagerService will initiate a request to Zygoye to create a process. The content is as follows:
/* frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java */
@GuardedBy("this")
final ProcessRecord startProcessLocked(String processName,
ApplicationInfo info, boolean knownToBeDead