From: Jeff Hamilton Date: Fri, 12 Feb 2010 19:45:16 +0000 (-0600) Subject: Dump original-package entries. X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/2db8b02fe4c9fc0bec9ff7bf055d24942dfa6b02?ds=inline;hp=-c Dump original-package entries. Change-Id: I29b20811847555ff9858ef47cca69c8b992b24ea --- 2db8b02fe4c9fc0bec9ff7bf055d24942dfa6b02 diff --git a/Command.cpp b/Command.cpp index 5d345e6..ee07415 100644 --- a/Command.cpp +++ b/Command.cpp @@ -741,6 +741,15 @@ int doDump(Bundle* bundle) error.string()); goto bail; } + } else if (tag == "original-package") { + String8 name = getAttribute(tree, NAME_ATTR, &error); + if (name != "" && error == "") { + printf("original-package:'%s'\n", name.string()); + } else { + fprintf(stderr, "ERROR getting 'android:name' attribute: %s\n", + error.string()); + goto bail; + } } } else if (depth == 3 && withinApplication) { withinActivity = false;