chore: fix typo on resource message, drop shorthand if logic

This commit is contained in:
Connor Tumbleson 2023-07-23 17:39:47 -04:00
parent 3ba9838d08
commit c7bb163834
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -147,10 +147,11 @@ public class ResourcesDecoder {
inApk = apkFile.getDirectory();
out = new FileDirectory(outDir);
if (hasResources())
LOGGER.info("Decoding AndroidManifest.xml framework resources...");
else
if (hasResources()) {
LOGGER.info("Decoding AndroidManifest.xml with resources...");
} else {
LOGGER.info("Decoding AndroidManifest.xml with only framework resources...");
}
InputStream inputStream = inApk.getFileInput("AndroidManifest.xml");
OutputStream outputStream = out.getFileOutput("AndroidManifest.xml");
fileDecoder.decodeManifest(inputStream, outputStream);