dump header size during failure

This commit is contained in:
Connor Tumbleson 2016-07-21 08:29:06 -04:00
parent a4270d065e
commit 475178605c
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -384,8 +384,8 @@ public class ARSCDecoder {
.format("Config flags size > %d, but exceeding bytes are all zero, so it should be ok.", .format("Config flags size > %d, but exceeding bytes are all zero, so it should be ok.",
KNOWN_CONFIG_BYTES)); KNOWN_CONFIG_BYTES));
} else { } else {
LOGGER.warning(String.format("Config flags size > %d. Exceeding bytes: 0x%X.", LOGGER.warning(String.format("Config flags size > %d. Size = %d. Exceeding bytes: 0x%X.",
KNOWN_CONFIG_BYTES, exceedingBI)); KNOWN_CONFIG_BYTES, size, exceedingBI));
isInvalid = true; isInvalid = true;
} }
} }