mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-05 02:22:55 +01:00
fix: prevent nullying out sdk info when compileSdkVersion is found
This commit is contained in:
parent
546577df6a
commit
de5d0e41cf
@ -115,7 +115,8 @@ public class XmlPullStreamDecoder implements ResStreamDecoder {
|
||||
if (name != null && value != null) {
|
||||
if (name.equalsIgnoreCase("minSdkVersion")
|
||||
|| name.equalsIgnoreCase("targetSdkVersion")
|
||||
|| name.equalsIgnoreCase("maxSdkVersion")) {
|
||||
|| name.equalsIgnoreCase("maxSdkVersion")
|
||||
|| name.equalsIgnoreCase("compileSdkVersion")) {
|
||||
resTable.addSdkInfo(name, value);
|
||||
} else {
|
||||
resTable.clearSdkInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user