mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-08 19:16:09 +01:00
threadsafe StringBlock
This commit is contained in:
parent
edf81c2597
commit
e48ab8b9b9
1
CHANGES
1
CHANGES
@ -30,6 +30,7 @@ v2.0.0 (TBA)
|
|||||||
-Fixed (issue #571) - Fixed truncated strings (Thanks jtmuhone)
|
-Fixed (issue #571) - Fixed truncated strings (Thanks jtmuhone)
|
||||||
-Fixed (issue #578) - Fixed apk's with multiple empty types via ignoring them
|
-Fixed (issue #578) - Fixed apk's with multiple empty types via ignoring them
|
||||||
-Fixed (issue #589) - Fixed apk's with one package named "android" from improper decoding.
|
-Fixed (issue #589) - Fixed apk's with one package named "android" from improper decoding.
|
||||||
|
-Fixed (issue #601) - Make StringBlock thread safe (Thanks aluedeke)
|
||||||
-Added output to list Apktool version to help debugging.
|
-Added output to list Apktool version to help debugging.
|
||||||
-Updated known bytes for configurations to 38 (from addition of layout direction)
|
-Updated known bytes for configurations to 38 (from addition of layout direction)
|
||||||
-Fixed NPE when handling odex apks even with --no-src specified. (Thanks Rodrigo Chiossi)
|
-Fixed NPE when handling odex apks even with --no-src specified. (Thanks Rodrigo Chiossi)
|
||||||
|
@ -327,9 +327,9 @@ public class StringBlock {
|
|||||||
private int[] m_styles;
|
private int[] m_styles;
|
||||||
private boolean m_isUTF8;
|
private boolean m_isUTF8;
|
||||||
private int[] m_stringOwns;
|
private int[] m_stringOwns;
|
||||||
private static final CharsetDecoder UTF16LE_DECODER = Charset.forName(
|
private final CharsetDecoder UTF16LE_DECODER = Charset.forName(
|
||||||
"UTF-16LE").newDecoder();
|
"UTF-16LE").newDecoder();
|
||||||
private static final CharsetDecoder UTF8_DECODER = Charset.forName("UTF-8")
|
private final CharsetDecoder UTF8_DECODER = Charset.forName("UTF-8")
|
||||||
.newDecoder();
|
.newDecoder();
|
||||||
private static final Logger LOGGER = Logger.getLogger(StringBlock.class
|
private static final Logger LOGGER = Logger.getLogger(StringBlock.class
|
||||||
.getName());
|
.getName());
|
||||||
|
Loading…
Reference in New Issue
Block a user