mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-05 09:04:34 +02:00
build: bump dependencies
This commit is contained in:
parent
9cb1b4fdf2
commit
b05b72e8c8
@ -170,10 +170,10 @@ object LithoFilterPatch : BytecodePatch(
|
|||||||
addFilter = { classDescriptor ->
|
addFilter = { classDescriptor ->
|
||||||
addInstructions(
|
addInstructions(
|
||||||
0, """
|
0, """
|
||||||
new-instance v1, $classDescriptor
|
new-instance v0, $classDescriptor
|
||||||
invoke-direct {v1}, $classDescriptor-><init>()V
|
invoke-direct {v0}, $classDescriptor-><init>()V
|
||||||
const/16 v2, ${filterCount++}
|
const/16 v3, ${filterCount++}
|
||||||
aput-object v1, v0, v2
|
aput-object v0, v2, v3
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -184,8 +184,9 @@ object LithoFilterPatch : BytecodePatch(
|
|||||||
override fun close() = LithoFilterPatchConstructorFingerprint.result!!
|
override fun close() = LithoFilterPatchConstructorFingerprint.result!!
|
||||||
.mutableMethod.addInstructions(
|
.mutableMethod.addInstructions(
|
||||||
0, """
|
0, """
|
||||||
const/16 v0, $filterCount
|
const/16 v1, $filterCount
|
||||||
new-array v0, v0, [$INTEGRATIONS_FILER_CLASS_DESCRIPTOR
|
new-array v2, v1, [$INTEGRATIONS_FILER_CLASS_DESCRIPTOR
|
||||||
|
const/4 v1, 0x1
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
}
|
}
|
@ -7,7 +7,7 @@ import com.android.tools.smali.dexlib2.AccessFlags
|
|||||||
|
|
||||||
internal object LithoFilterPatchConstructorFingerprint : MethodFingerprint(
|
internal object LithoFilterPatchConstructorFingerprint : MethodFingerprint(
|
||||||
returnType = "V",
|
returnType = "V",
|
||||||
accessFlags = AccessFlags.PUBLIC or AccessFlags.STATIC or AccessFlags.CONSTRUCTOR,
|
accessFlags = AccessFlags.STATIC or AccessFlags.CONSTRUCTOR,
|
||||||
customFingerprint = { methodDef, _ ->
|
customFingerprint = { methodDef, _ ->
|
||||||
methodDef.definingClass == "$COMPONENTS_PATH/LithoFilterPatch;"
|
methodDef.definingClass == "$COMPONENTS_PATH/LithoFilterPatch;"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user