X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/2fd99183f2a64d09f193b96c6c6d56966e61b219..dcf97f4c8dd5ae9498f2edecd82feb79b7d8a7de:/Command.cpp?ds=sidebyside 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 == "") {