mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 05:07:41 +02:00
fix(youtube): reinforce weak fingerprints
This commit is contained in:
@ -5,5 +5,10 @@ import app.revanced.util.bytecode.isWide32LiteralExists
|
||||
|
||||
object SplashAnimationBuilderFingerprint : MethodFingerprint(
|
||||
returnType = "V",
|
||||
customFingerprint = { methodDef, _ -> methodDef.isWide32LiteralExists(45407550) }
|
||||
parameters = listOf("Landroid/os/Bundle;"),
|
||||
customFingerprint = { methodDef, _ ->
|
||||
methodDef.definingClass.endsWith("/WatchWhileActivity;")
|
||||
&& methodDef.name == "onCreate"
|
||||
&& methodDef.isWide32LiteralExists(45407550)
|
||||
}
|
||||
)
|
Reference in New Issue
Block a user