系统启动解析apk

(1)找apk(PackageManagerService.scanDirLI和PackageManagerService.scanPackageLI)
    /system/framework
    /system/app
    /vendor/app
    /data/app
    /data/app-private
(2)解析Manifest (PackageParser.parsePackage) 把信息保存到PackageManagerService

  

你可能感兴趣的:(系统启动解析apk)