X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/4838f309b07064a9c8a3dfcc071b6b5787fd682b..111785340014874f70d9c8d822517d0f57f19c76:/Command.cpp diff --git a/Command.cpp b/Command.cpp index b0f086b..f71ebb9 100644 --- a/Command.cpp +++ b/Command.cpp @@ -853,6 +853,15 @@ int doDump(Bundle* bundle) error.string()); goto bail; } + } else if (tag == "uses-package") { + String8 name = getAttribute(tree, NAME_ATTR, &error); + if (name != "" && error == "") { + printf("uses-package:'%s'\n", name.string()); + } else { + fprintf(stderr, "ERROR getting 'android:name' attribute: %s\n", + error.string()); + goto bail; + } } else if (tag == "original-package") { String8 name = getAttribute(tree, NAME_ATTR, &error); if (name != "" && error == "") {