Skip to content

Conversation

IgorEisberg
Copy link
Contributor

There's a missing check for hasResources in ApkDecoder, which causes minSdkVersion to be force-replaced for APKs also, not just for JARs, which often causes an inconsistency with the original APK.
As such, the hasResources of ResourcesDecoder must be public (ideally "package-private", but ResourcesDecoder is in "res" sub-package so that is not viable).
Also made hasManifest public for consistency's sake to avoid confusion and open it for possible usage in ApkDecoder in the future.

@iBotPeaches iBotPeaches merged commit 2610033 into iBotPeaches:master Jul 20, 2023
iBotPeaches added a commit that referenced this pull request Jul 20, 2023
@iBotPeaches
Copy link
Owner

thanks!

@iBotPeaches iBotPeaches added this to the v2.8.1 milestone Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants