Merge "Dump original-package entries."

This commit is contained in:
Jeff Hamilton
2010-02-12 11:47:23 -08:00
committed by Android (Google) Code Review

View File

@@ -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;