]> git.saurik.com Git - android/aapt.git/blobdiff - Command.cpp
Merge "Change buf size holding integer in ResourceTable"
[android/aapt.git] / Command.cpp
index 5d345e6d246ba79a18113c27e58384b877338572..ee074155bb13215694f7df0f89e3546d7d0a84c4 100644 (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;