Skip to content

Commit c569ab6

Browse files
author
Jeff Jankowski
committed
Truncating class names in fingerprints
1 parent 43575bd commit c569ab6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patches/src/main/kotlin/app/revanced/patches/primevideo/ads/Fingerprints.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ internal val doTriggerFingerprint = fingerprint {
2222

2323
internal val onSeekPastUnwatchedAdFingerprint = fingerprint {
2424
custom {method, classDef ->
25-
method.name == "onSeekPastUnwatchedAd" && classDef.type == "Lcom/amazon/video/sdk/stores/overlays/playerchrome/features/seekbar/controller/SeekbarControllerImpl;"
25+
method.name == "onSeekPastUnwatchedAd" && classDef.endsWith("SeekbarControllerImpl;")
2626
}
2727
}
2828

2929
internal val onSeekBehindUnwatchedAdFingerprint = fingerprint {
3030
custom {method, classDef ->
31-
method.name == "onSeekBehindUnwatchedAdFingerprint" && classDef.type == "Lcom/amazon/video/sdk/stores/overlays/playerchrome/features/seekbar/controller/SeekbarControllerImpl;"
31+
method.name == "onSeekBehindUnwatchedAdFingerprint" && classDef.endsWith("SeekbarControllerImpl;")
3232
}
3333
}

0 commit comments

Comments
 (0)