From e99ed1ccbb96d56700417a7710292b3af64a494f Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sun, 13 Aug 2023 14:07:45 -0400 Subject: [PATCH] refactor: remove unused decodeManifest function (#3268) --- .../brut/androlib/res/decoder/ResFileDecoder.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java index 75b7fc9e..9bab7c98 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java @@ -157,18 +157,6 @@ public class ResFileDecoder { } } - public void decodeManifest(Directory inDir, String inFileName, - Directory outDir, String outFileName) throws AndrolibException { - try ( - InputStream in = inDir.getFileInput(inFileName); - OutputStream out = outDir.getFileOutput(outFileName) - ) { - ((XmlPullStreamDecoder) mDecoders.getDecoder("xml")).decodeManifest(in, out); - } catch (DirectoryException | IOException ex) { - throw new AndrolibException(ex); - } - } - private final static Logger LOGGER = Logger.getLogger(ResFileDecoder.class.getName()); private final static String[] RAW_IMAGE_EXTENSIONS = new String[] {