Where is the code for analyzing AndroidManifest.xml in AOSP?

I am trying to understand how and when AndroidManifest.xml for an application is parsed, but I can not find it in the AOSP source. I was looking for AndroidXRef as well, but I don't see any hits (probably because this parsing is done in binary XML and so the tags - for example, android:name - are not strings.)

+4
source share
1 answer

Parsing a package is done in frameworks/base/core/java/android/content/pm/PackageParser.java . You need the parsePackage method.

NTN!

+6
source

Source: https://habr.com/ru/post/1442908/


All Articles