From: Dianne Hackborn Date: Fri, 3 Sep 2010 00:14:41 +0000 (-0700) Subject: Implement #2964234: Add support for element to aapt X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/a0a0158771233141069ba8c0034c7717b7116419?ds=inline Implement #2964234: Add support for element to aapt Change-Id: Ifb381f387cab7e5a99006691e330d0e3d9d0f250 --- 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 == "") {