Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5fe4463 authored by Steve Kondik's avatar Steve Kondik
Browse files

androidfw: STFU

Change-Id: I949b8e14b0c777c20a56a30941bd9b980fcc6394
parent d8729538
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5832,7 +5832,7 @@ status_t ResTable::getEntry(
        }

        if (static_cast<size_t>(realEntryIndex) >= typeSpec->entryCount) {
            ALOGW("For resource 0x%08x, entry index(%d) is beyond type entryCount(%d)",
            ALOGV("For resource 0x%08x, entry index(%d) is beyond type entryCount(%d)",
                    Res_MAKEID(packageGroup->id - 1, typeIndex, entryIndex),
                    entryIndex, static_cast<int>(typeSpec->entryCount));
            // We should normally abort here, but some legacy apps declare
@@ -6102,7 +6102,7 @@ status_t ResTable::parsePackage(const ResTable_package* const pkg,
                if (!typeList.isEmpty()) {
                    const Type* existingType = typeList[0];
                    if (existingType->entryCount != newEntryCount && idmapIndex < 0) {
                        ALOGW("ResTable_typeSpec entry count inconsistent: given %d, previously %d",
                        ALOGV("ResTable_typeSpec entry count inconsistent: given %d, previously %d",
                                (int) newEntryCount, (int) existingType->entryCount);
                        // We should normally abort here, but some legacy apps declare
                        // resources in the 'android' package (old bug in AAPT).