am 2e246549
: Merge "Add better debug output for ResourceType errors" into gingerbread
Merge commit '2e2465497c08061cccf4908e49095f2d19a35eea' into gingerbread-plus-aosp * commit '2e2465497c08061cccf4908e49095f2d19a35eea': Add better debug output for ResourceType errors
This commit is contained in:
@ -1934,8 +1934,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;
|
||||
|
Reference in New Issue
Block a user