mirror of
https://github.com/revanced/revanced-patches
synced 2024-09-12 17:26:45 +02:00
fix: Publicize abstract property
This commit is contained in:
parent
f0f876803e
commit
b7c108ee20
@ -30,6 +30,7 @@ public final class app/revanced/patches/all/misc/debugging/EnableAndroidDebuggin
|
|||||||
|
|
||||||
public final class app/revanced/patches/all/misc/hex/HexPatch : app/revanced/patches/shared/misc/hex/BaseHexPatch {
|
public final class app/revanced/patches/all/misc/hex/HexPatch : app/revanced/patches/shared/misc/hex/BaseHexPatch {
|
||||||
public fun <init> ()V
|
public fun <init> ()V
|
||||||
|
public fun getReplacements ()Ljava/util/List;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/patches/all/misc/network/OverrideCertificatePinningPatch : app/revanced/patcher/patch/ResourcePatch {
|
public final class app/revanced/patches/all/misc/network/OverrideCertificatePinningPatch : app/revanced/patcher/patch/ResourcePatch {
|
||||||
@ -677,6 +678,7 @@ public abstract class app/revanced/patches/shared/misc/hex/BaseHexPatch : app/re
|
|||||||
public fun <init> ()V
|
public fun <init> ()V
|
||||||
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
|
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
|
||||||
public fun execute (Lapp/revanced/patcher/data/ResourceContext;)V
|
public fun execute (Lapp/revanced/patcher/data/ResourceContext;)V
|
||||||
|
public abstract fun getReplacements ()Ljava/util/List;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/patches/shared/misc/hex/BaseHexPatch$Replacement {
|
public final class app/revanced/patches/shared/misc/hex/BaseHexPatch$Replacement {
|
||||||
|
@ -6,7 +6,7 @@ import app.revanced.patcher.patch.RawResourcePatch
|
|||||||
import kotlin.math.max
|
import kotlin.math.max
|
||||||
|
|
||||||
abstract class BaseHexPatch : RawResourcePatch() {
|
abstract class BaseHexPatch : RawResourcePatch() {
|
||||||
internal abstract val replacements: List<Replacement>
|
abstract val replacements: List<Replacement>
|
||||||
|
|
||||||
override fun execute(context: ResourceContext) {
|
override fun execute(context: ResourceContext) {
|
||||||
replacements.groupBy { it.targetFilePath }.forEach { (targetFilePath, replacements) ->
|
replacements.groupBy { it.targetFilePath }.forEach { (targetFilePath, replacements) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user