]> git.saurik.com Git - android/aapt.git/blobdiff - ResourceTable.cpp
resolved conflicts for merge of bc2fb7b9 to jb-dev-plus-aosp
[android/aapt.git] / ResourceTable.cpp
index 0195727ae7d0cec05c27c9ca50ccb98ce1a98a2e..22b75d883eb7b81ec4ef4adaa723975e64aaa2d5 100644 (file)
@@ -3723,9 +3723,7 @@ sp<ResourceTable::Package> ResourceTable::getPackage(const String16& package)
 {
     sp<Package> 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");