fix: create-button-signature

This commit is contained in:
epicsampler 2022-05-22 14:17:32 +00:00 committed by GitHub
parent e12e484e37
commit a173f6e5a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ import app.revanced.patcher.extensions.or
import app.revanced.patcher.signature.implementation.method.MethodSignature
import app.revanced.patcher.signature.implementation.method.annotation.FuzzyPatternScanMethod
import app.revanced.patcher.signature.implementation.method.annotation.MatchingMethod
import app.revanced.patches.youtube.layout.amoled.annotations.AmoledCompatibility
import app.revanced.patches.youtube.layout.createbutton.annotations.CreateButtonCompatibility
import org.jf.dexlib2.AccessFlags
import org.jf.dexlib2.Opcode
@ -15,7 +15,7 @@ import org.jf.dexlib2.Opcode
"Lkne", "z"
)
@FuzzyPatternScanMethod(2) // FIXME: Test this threshold and find the best value.
@AmoledCompatibility
@CreateButtonCompatibility
@Version("0.0.1")
object CreateButtonSignature : MethodSignature(
"V",