Skip to content

Commit

Permalink
chore: fix typo on resource message, drop shorthand if logic
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Jul 23, 2023
1 parent 3ba9838 commit c7bb163
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,11 @@ private void decodeManifest(ResTable resTable, ExtFile apkFile, File outDir)
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);
Expand Down

0 comments on commit c7bb163

Please sign in to comment.