]> git.saurik.com Git - android/aapt.git/blobdiff - ResourceTable.cpp
Ignore xml change since file no longer exists
[android/aapt.git] / ResourceTable.cpp
index 533956620f0ba43b14c2c061593d3917cbabe352..6d5fcc257e78c267d68e6a61a9642dff05f560ad 100644 (file)
@@ -3681,7 +3681,9 @@ sp<ResourceTable::Package> ResourceTable::getPackage(const String16& package)
 {
     sp<Package> p = mPackages.valueFor(package);
     if (p == NULL) {
-        if (mIsAppPackage) {
+        if (mBundle->getIsOverlayPackage()) {
+            p = new Package(package, 0x00);
+        } else if (mIsAppPackage) {
             if (mHaveAppPackage) {
                 fprintf(stderr, "Adding multiple application package resources; only one is allowed.\n"
                                 "Use -x to create extended resources.\n");