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

Commit dc7caf18 authored by Ficus Kirkpatrick's avatar Ficus Kirkpatrick
Browse files

Demote the famous ResourceTypes warning to LOGV.

It is spamming the log bigtime and can be promoted back to LOGW
or worse by whoever decides to actually investigate the bug.

Change-Id: I72d950155378f641ebdfbacabae774f5736a52bc
parent e26f4a30
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1850,7 +1850,7 @@ bool ResTable::getResourceName(uint32_t resID, resource_name* outName) const
        if (Res_GETPACKAGE(resID)+1 == 0) {
            LOGW("No package identifier when getting name for resource number 0x%08x", resID);
        } else {
            LOGW("Resources don't contain package for resource number 0x%08x", resID);
            LOGV("Resources don't contain package for resource number 0x%08x", resID);
        }
        return false;
    }
@@ -1900,7 +1900,7 @@ ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag
        if (Res_GETPACKAGE(resID)+1 == 0) {
            LOGW("No package identifier when getting name for resource number 0x%08x", resID);
        } else {
            LOGW("Resources don't contain package for resource number 0x%08x", resID);
            LOGV("Resources don't contain package for resource number 0x%08x", resID);
        }
        return BAD_INDEX;
    }