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(); inApk = apkFile.getDirectory();
out = new FileDirectory(outDir); out = new FileDirectory(outDir);
if (hasResources()) if (hasResources()) {
LOGGER.info("Decoding AndroidManifest.xml framework resources..."); LOGGER.info("Decoding AndroidManifest.xml with resources...");
else } else {
LOGGER.info("Decoding AndroidManifest.xml with only framework resources..."); LOGGER.info("Decoding AndroidManifest.xml with only framework resources...");
}
InputStream inputStream = inApk.getFileInput("AndroidManifest.xml"); InputStream inputStream = inApk.getFileInput("AndroidManifest.xml");
OutputStream outputStream = out.getFileOutput("AndroidManifest.xml"); OutputStream outputStream = out.getFileOutput("AndroidManifest.xml");
fileDecoder.decodeManifest(inputStream, outputStream); fileDecoder.decodeManifest(inputStream, outputStream);