build: bump dependencies

This commit is contained in:
inotia00 2024-09-05 17:28:43 +09:00
parent 9cb1b4fdf2
commit b05b72e8c8
2 changed files with 8 additions and 7 deletions

View File

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

View File

@ -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;"
} }