mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-08 11:05: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())) {
|
}else if ("uses-sdk".equalsIgnoreCase(pp.getName())) {
|
||||||
try {
|
try {
|
||||||
hideSdkInfo = parseAttr(pp);
|
hideSdkInfo = parseAttr(pp);
|
||||||
|
if(hideSdkInfo) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
} catch (AndrolibException e) {}
|
} catch (AndrolibException e) {}
|
||||||
}
|
}
|
||||||
} else if (hideSdkInfo && type == XmlPullParser.END_TAG &&
|
} else if (hideSdkInfo && type == XmlPullParser.END_TAG &&
|
||||||
"uses-sdk".equalsIgnoreCase(pp.getName()) ||
|
"uses-sdk".equalsIgnoreCase(pp.getName())) {
|
||||||
hidePackageInfo && type == XmlPullParser.END_TAG &&
|
return;
|
||||||
|
} else if (hidePackageInfo && type == XmlPullParser.END_TAG &&
|
||||||
"manifest".equalsIgnoreCase(pp.getName())) {
|
"manifest".equalsIgnoreCase(pp.getName())) {
|
||||||
|
|
||||||
super.event(pp);
|
super.event(pp);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user