Skip to content

Commit

Permalink
build: bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Sep 5, 2024
1 parent 9cb1b4f commit b05b72e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ object LithoFilterPatch : BytecodePatch(
addFilter = { classDescriptor ->
addInstructions(
0, """
new-instance v1, $classDescriptor
invoke-direct {v1}, $classDescriptor-><init>()V
const/16 v2, ${filterCount++}
aput-object v1, v0, v2
new-instance v0, $classDescriptor
invoke-direct {v0}, $classDescriptor-><init>()V
const/16 v3, ${filterCount++}
aput-object v0, v2, v3
"""
)
}
Expand All @@ -184,8 +184,9 @@ object LithoFilterPatch : BytecodePatch(
override fun close() = LithoFilterPatchConstructorFingerprint.result!!
.mutableMethod.addInstructions(
0, """
const/16 v0, $filterCount
new-array v0, v0, [$INTEGRATIONS_FILER_CLASS_DESCRIPTOR
const/16 v1, $filterCount
new-array v2, v1, [$INTEGRATIONS_FILER_CLASS_DESCRIPTOR
const/4 v1, 0x1
"""
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.android.tools.smali.dexlib2.AccessFlags

internal object LithoFilterPatchConstructorFingerprint : MethodFingerprint(
returnType = "V",
accessFlags = AccessFlags.PUBLIC or AccessFlags.STATIC or AccessFlags.CONSTRUCTOR,
accessFlags = AccessFlags.STATIC or AccessFlags.CONSTRUCTOR,
customFingerprint = { methodDef, _ ->
methodDef.definingClass == "$COMPONENTS_PATH/LithoFilterPatch;"
}
Expand Down

0 comments on commit b05b72e

Please sign in to comment.