mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-13 06:17:46 +01:00
Ignore the unknown 4 bytes in Android N
This commit is contained in:
parent
64644a1242
commit
67d80a133f
@ -375,6 +375,11 @@ public class ARSCDecoder {
|
||||
read = 52;
|
||||
}
|
||||
|
||||
if (size >= 56) {
|
||||
mIn.skipBytes(4);
|
||||
read = 56;
|
||||
}
|
||||
|
||||
int exceedingSize = size - KNOWN_CONFIG_BYTES;
|
||||
if (exceedingSize > 0) {
|
||||
byte[] buf = new byte[exceedingSize];
|
||||
@ -550,7 +555,7 @@ public class ARSCDecoder {
|
||||
}
|
||||
|
||||
private static final Logger LOGGER = Logger.getLogger(ARSCDecoder.class.getName());
|
||||
private static final int KNOWN_CONFIG_BYTES = 52;
|
||||
private static final int KNOWN_CONFIG_BYTES = 56;
|
||||
|
||||
public static class ARSCData {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user