mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-04-30 14:44:30 +02:00
Merge pull request #11 from Iamlooker/dalvik-patches
fix: build broken by ec9618e
This commit is contained in:
commit
e3b3a57650
@ -6,7 +6,7 @@ import app.revanced.patcher.patch.implementation.metadata.PackageMetadata
|
|||||||
import app.revanced.patcher.patch.implementation.metadata.PatchMetadata
|
import app.revanced.patcher.patch.implementation.metadata.PatchMetadata
|
||||||
import app.revanced.patcher.patch.implementation.misc.PatchResult
|
import app.revanced.patcher.patch.implementation.misc.PatchResult
|
||||||
import app.revanced.patcher.patch.implementation.misc.PatchResultSuccess
|
import app.revanced.patcher.patch.implementation.misc.PatchResultSuccess
|
||||||
import com.sun.org.apache.xerces.internal.dom.ElementImpl
|
import org.w3c.dom.Element
|
||||||
|
|
||||||
private val compatiblePackages = listOf(
|
private val compatiblePackages = listOf(
|
||||||
PackageMetadata(
|
PackageMetadata(
|
||||||
@ -31,7 +31,7 @@ class FixLocaleConfigErrorPatch : ResourcePatch(
|
|||||||
val applicationNode = editor
|
val applicationNode = editor
|
||||||
.file
|
.file
|
||||||
.getElementsByTagName("application")
|
.getElementsByTagName("application")
|
||||||
.item(0) as ElementImpl
|
.item(0) as Element
|
||||||
|
|
||||||
// by replacing the attributes name
|
// by replacing the attributes name
|
||||||
val attribute = "android:localeConfig"
|
val attribute = "android:localeConfig"
|
||||||
@ -43,4 +43,4 @@ class FixLocaleConfigErrorPatch : ResourcePatch(
|
|||||||
|
|
||||||
return PatchResultSuccess()
|
return PatchResultSuccess()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user