fix: prevent nullying out sdk info when compileSdkVersion is found

This commit is contained in:
Connor Tumbleson 2020-06-27 15:13:12 -04:00 committed by Connor Tumbleson
parent 546577df6a
commit de5d0e41cf

View File

@ -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();