From c7bb163834cfc6722e1010618b41e5cd7e336ec3 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sun, 23 Jul 2023 17:39:47 -0400 Subject: [PATCH] chore: fix typo on resource message, drop shorthand if logic --- .../src/main/java/brut/androlib/res/ResourcesDecoder.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResourcesDecoder.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResourcesDecoder.java index b8a4c843..4ee8f2af 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResourcesDecoder.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResourcesDecoder.java @@ -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);