X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/2129454912ff14c1f8bceedc74403a422e933d56..08a9acaaef4f53c3e09420d947ebe70a6c77a4cd:/ResourceTable.cpp diff --git a/ResourceTable.cpp b/ResourceTable.cpp index fdb39ca..20e221d 100644 --- a/ResourceTable.cpp +++ b/ResourceTable.cpp @@ -3609,9 +3609,7 @@ sp ResourceTable::getPackage(const String16& package) { sp p = mPackages.valueFor(package); if (p == NULL) { - if (mBundle->getIsOverlayPackage()) { - p = new Package(package, 0x00); - } else if (mIsAppPackage) { + if (mIsAppPackage) { if (mHaveAppPackage) { fprintf(stderr, "Adding multiple application package resources; only one is allowed.\n" "Use -x to create extended resources.\n");