X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/a05cd008c6afe18b77d51b63d839558a332e1477..19d44c3efab1f054eefda13f888e2b9cdc536c86:/Command.cpp diff --git a/Command.cpp b/Command.cpp index b50a393..eaff0f4 100644 --- a/Command.cpp +++ b/Command.cpp @@ -856,6 +856,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 == "") {