mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-04 15:54:26 +02:00
only log string decode warning when failed
This commit is contained in:
parent
5a66b2c42d
commit
e0e6cfd03f
@ -302,8 +302,8 @@ public class StringBlock {
|
|||||||
try {
|
try {
|
||||||
return (m_isUTF8 ? UTF8_DECODER : UTF16LE_DECODER).decode(wrappedBuffer).toString();
|
return (m_isUTF8 ? UTF8_DECODER : UTF16LE_DECODER).decode(wrappedBuffer).toString();
|
||||||
} catch (CharacterCodingException ex) {
|
} catch (CharacterCodingException ex) {
|
||||||
LOGGER.warning("Failed to decode a string at offset " + offset + " of length " + length);
|
|
||||||
if (!m_isUTF8) {
|
if (!m_isUTF8) {
|
||||||
|
LOGGER.warning("Failed to decode a string at offset " + offset + " of length " + length);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user