fix: Publicize abstract property

This commit is contained in:
oSumAtrIX 2024-04-22 19:04:06 +02:00
parent f0f876803e
commit b7c108ee20
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
2 changed files with 3 additions and 1 deletions

View file

@ -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 {

View file

@ -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) ->