From 1ee464fddb6cdc470b8dc8102d7c092a8a515808 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 1 Oct 2022 05:19:00 +0200 Subject: [PATCH] feat(youtube/hdr-auto-brightness): increase strength of fingerprint --- .../hdrbrightness/fingerprints/HDRBrightnessFingerprint.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/hdrbrightness/fingerprints/HDRBrightnessFingerprint.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/hdrbrightness/fingerprints/HDRBrightnessFingerprint.kt index e1e35ec4b..1a8619d3a 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/hdrbrightness/fingerprints/HDRBrightnessFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/hdrbrightness/fingerprints/HDRBrightnessFingerprint.kt @@ -5,7 +5,7 @@ import app.revanced.patcher.annotation.Version import app.revanced.patcher.fingerprint.method.annotation.MatchingMethod import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint import app.revanced.patches.youtube.misc.hdrbrightness.annotations.HDRBrightnessCompatibility -import org.jf.dexlib2.AccessFlags +import org.jf.dexlib2.Opcode @Name("hdr-brightness-fingerprint") @MatchingMethod( @@ -14,6 +14,7 @@ import org.jf.dexlib2.AccessFlags @HDRBrightnessCompatibility @Version("0.0.1") object HDRBrightnessFingerprint : MethodFingerprint( - "V", AccessFlags.FINAL.value, + "V", + opcodes = listOf(Opcode.CMPL_FLOAT), strings = listOf("c.SettingNotFound;", "screen_brightness", "android.mediaview"), ) \ No newline at end of file