diff options
author | 2010-02-12 11:47:23 -0800 | |
---|---|---|
committer | 2010-02-12 11:47:23 -0800 | |
commit | 965e37ec88609c36a3c5461ece459a96abb6f7ca (patch) | |
tree | 48e352b8280b3efba72a83d0537be439e7178ec2 | |
parent | d72b3137262222b9644077d0f20c295cf75893bc (diff) | |
parent | e2c17f9174144a6eca3fdbed8d5d1370f318f549 (diff) |
Merge "Dump original-package entries."
-rw-r--r-- | tools/aapt/Command.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index 5d345e6d246b..ee074155bb13 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/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; |