mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-13 05:37:40 +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(
|
object SplashAnimationBuilderFingerprint : MethodFingerprint(
|
||||||
returnType = "V",
|
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