1.前言
在android10.0的系统rom定制化开发中,在对于app启动时,通过Launcher调用pms来查询app的相关ActivityInfo的相关信息,然后调用
ams来启动activity,这篇来分析pms中获取app的ActivityInfo的相关信息的相关源码分析文章来源地址https://www.toymoban.com/news/detail-432149.html
2.pms中关于启动app时获取app的ActivityInfo信息相关源码分析的核心类
frameworks\base\services\core\java\com\android\server\pm\PackageManagerService.java
3.pms中关于启动app时获取app的ActivityInfo信息相关源码分析的核心功能分析和实现
private class PackageManagerInternalImpl extends PackageManagerInternal {
@Override
public ResolveInfo resolveIntent(Intent intent, String resolvedType,
int flags, int userId, boolean resolveForStart, int filterCallingUid) {
return resolveIntentInternal(
intent, resolvedType, flags, userId, resolveForStart, filterCallingUid);
}
@Override
public ResolveInfo resolveService(Intent intent, String resolvedType,
int flags
文章来源:https://www.toymoban.com/news/detail-432149.html
到了这里,关于Android 10.0 pms中关于启动app时获取app的ActivityInfo信息相关源码分析的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!