mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
fix: revert using OutputStream.nullOutputStream
Older Android versions don't support this API
This commit is contained in:
parent
c95e6fa92f
commit
f02a42610b
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue