am 192b56d4: Merge "Implement #2964234: Add support for <uses-package> element to aapt" into gingerbread
Merge commit '192b56d42a4f6e5e6c736b0f22dd5bd201b02c9d' into gingerbread-plus-aosp * commit '192b56d42a4f6e5e6c736b0f22dd5bd201b02c9d': Implement #2964234: Add support for <uses-package> element to aapt
This commit is contained in:
@@ -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 == "") {
|
||||
|
||||
Reference in New Issue
Block a user