X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/e29f4ada32b58d0644b02d271f158115960501dd..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");