Skip to content

Commit

Permalink
fix(hdr-brightness): trim list of compatible versions (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
OxrxL authored Sep 29, 2022
1 parent edd9d79 commit ce2d18c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import app.revanced.patcher.annotation.Package

@Compatibility(
[Package(
"com.google.android.youtube", arrayOf("17.25.34", "17.26.35", "17.27.39", "17.28.34", "17.29.34", "17.32.35", "17.33.42", "17.34.35", "17.34.36", "17.36.37")
"com.google.android.youtube", arrayOf("17.33.42", "17.34.35", "17.34.36", "17.36.37")
)]
)
@Target(AnnotationTarget.CLASS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +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

@Name("hdr-brightness-fingerprint")
@MatchingMethod(
Expand All @@ -13,6 +14,6 @@ import app.revanced.patches.youtube.misc.hdrbrightness.annotations.HDRBrightness
@HDRBrightnessCompatibility
@Version("0.0.1")
object HDRBrightnessFingerprint : MethodFingerprint(
"V",
strings = listOf("c.SettingNotFound;", "screen_brightness", "android.mediaview", "lux"),
"V", AccessFlags.FINAL.value,
strings = listOf("c.SettingNotFound;", "screen_brightness", "android.mediaview"),
)

0 comments on commit ce2d18c

Please sign in to comment.