美文网首页
Android源码-Activity启动过程(基于api27)

Android源码-Activity启动过程(基于api27)

作者: 弗人 | 来源:发表于2018-05-30 11:04 被阅读26次

    Instrumentation.ActivityResult ar =mInstrumentation.execStartActivity(this, mMainThread.getApplicationThread(), mToken, this,intent, requestCode, options);

    int result = ActivityManager.getService() .startActivity(whoThread, who.getBasePackageName(), intent, intent.resolveTypeIfNeeded(who.getContentResolver()), token, target != null ? target.mEmbeddedID : null, requestCode, 0, null, options);

    mActivityStarter.startActivityMayWait(caller, -1, callingPackage, intent, resolvedType, null, null, resultTo, resultWho, requestCode, startFlags, profilerInfo, null, null, bOptions, false, userId, null, "startActivityAsUser");

    相关文章

      网友评论

          本文标题:Android源码-Activity启动过程(基于api27)

          本文链接:https://www.haomeiwen.com/subject/mdfbhttx.html