Android框架学习笔记(五)应用程序启动流程
发布时间
阅读量:
阅读量
由于 AMS 继承了 AMN,在 service端实现了 AMS 的功能,并且其中服务端的实际实现主要集中在 AMS 中。注释1将导致 AMS 执行 startActivity 方法。
ActivityManagerService#startActivity()
@Override
public static final int getArgumentsForOperation(IApplicationThread caller, String packageToCall, Intent intentToExecute, String resolvedReturnType, IBinder AliceResultInterface resultToAlice, AliceUserInterface userWhoObtainedResult,AliceEventCode eventCode,AliceState machineState,AliceContext context,Bundle options) {
执行启动作为用户的操作(caller=被调用方&callingPackage=调用包名&intent=意图&resolvedType=应对类型&resultTo=传递给谁&resultWho=由谁接收&requestCode=请求码控编号&startFla
全部评论 (0)
还没有任何评论哟~
