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

Commit 757a8675 authored by Kenny Root's avatar Kenny Root Committed by Android Git Automerger
Browse files

am 8d5250c6: am 2e246549: Merge "Add better debug output for ResourceType errors" into gingerbread

Merge commit '8d5250c601504da7a7fde3a3fd7b1c51335becdf'

* commit '8d5250c601504da7a7fde3a3fd7b1c51335becdf':
  Add better debug output for ResourceType errors
parents 880eb76c 1f5b98cb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1946,8 +1946,8 @@ ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag
        ssize_t offset = getEntry(package, t, e, &mParams, &type, &entry, &typeClass);
        if (offset <= 0) {
            if (offset < 0) {
                LOGW("Failure getting entry for 0x%08x (t=%d e=%d) in package %d: 0x%08x\n",
                        resID, t, e, (int)ip, (int)offset);
                LOGW("Failure getting entry for 0x%08x (t=%d e=%d) in package %zd (error %d)\n",
                        resID, t, e, ip, (int)offset);
                return offset;
            }
            continue;