X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/2b01c9f24cb80551eb7ba65ca63d3ac92a68dec7..e71fb2dbf255fe1ba2791448a446aade4716329b:/ResourceTable.cpp diff --git a/ResourceTable.cpp b/ResourceTable.cpp index d98b285..81b924a 100644 --- a/ResourceTable.cpp +++ b/ResourceTable.cpp @@ -3706,7 +3706,9 @@ sp ResourceTable::getPackage(const String16& package) { sp 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");