mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
fix warnings related to <uses-sdk>
This commit is contained in:
parent
46bfe8b66f
commit
3b0ca62fb0
@ -64,13 +64,16 @@ public class XmlPullStreamDecoder implements ResStreamDecoder {
|
||||
}else if ("uses-sdk".equalsIgnoreCase(pp.getName())) {
|
||||
try {
|
||||
hideSdkInfo = parseAttr(pp);
|
||||
if(hideSdkInfo) {
|
||||
return;
|
||||
}
|
||||
} catch (AndrolibException e) {}
|
||||
}
|
||||
} else if (hideSdkInfo && type == XmlPullParser.END_TAG &&
|
||||
"uses-sdk".equalsIgnoreCase(pp.getName()) ||
|
||||
hidePackageInfo && type == XmlPullParser.END_TAG &&
|
||||
"uses-sdk".equalsIgnoreCase(pp.getName())) {
|
||||
return;
|
||||
} else if (hidePackageInfo && type == XmlPullParser.END_TAG &&
|
||||
"manifest".equalsIgnoreCase(pp.getName())) {
|
||||
|
||||
super.event(pp);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user