mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 09:17:35 +01:00
correctly handles apk's with one package named "android"
This commit is contained in:
parent
501a6df677
commit
2af523d5d4
1
CHANGES
1
CHANGES
@ -29,6 +29,7 @@ v2.0.0 (TBA)
|
||||
-Fixed (issue #550) - Correctly labels incorrect type handling of <array>
|
||||
-Fixed (issue #571) - Fixed truncated strings (Thanks jtmuhone)
|
||||
-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.
|
||||
-Added output to list Apktool version to help debugging.
|
||||
-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)
|
||||
|
@ -87,7 +87,8 @@ public class ResTable {
|
||||
id = resPackage.getId();
|
||||
}
|
||||
}
|
||||
return getPackage(id);
|
||||
// if id is still 0, we only have one pkgId which is "android" -> 1
|
||||
return (id == 0) ? getPackage(1) : getPackage(id);
|
||||
}
|
||||
|
||||
public ResPackage getPackage(String name) throws AndrolibException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user