diff --git a/src/main/kotlin/app/revanced/patcher/Patcher.kt b/src/main/kotlin/app/revanced/patcher/Patcher.kt index d61fb11..06836b1 100644 --- a/src/main/kotlin/app/revanced/patcher/Patcher.kt +++ b/src/main/kotlin/app/revanced/patcher/Patcher.kt @@ -247,7 +247,12 @@ class Patcher(private val options: PatcherOptions) { XmlPullStreamDecoder( axmlParser, AndrolibResources().resXmlSerializer ).decodeManifest( - extInputFile.directory.getFileInput("AndroidManifest.xml"), OutputStream.nullOutputStream() + extInputFile.directory.getFileInput("AndroidManifest.xml"), + object : OutputStream() { + override fun write(b: Int) { + // do nothing + } + } ) } }