refactor: migrate to changes from ReVanced Patcher

This commit is contained in:
badawoll
2023-05-14 02:02:43 +02:00
committed by oSumAtrIX
parent 8399eaa288
commit 386d687ca1
103 changed files with 124 additions and 110 deletions
@@ -3,7 +3,7 @@ package app.revanced.patches.hexeditor.ad.fingerprints
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
object PrimaryAdsFingerprint : MethodFingerprint(
customFingerprint = { methodDef ->
customFingerprint = { methodDef, _ ->
methodDef.definingClass.endsWith("PreferencesHelper;") && methodDef.name == "isAdsDisabled"
}
)