mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-06 17:44:36 +02:00
feat(music): add compatibility version constraints (ryd does not support older versions)
This commit is contained in:
parent
f97d6de1c5
commit
c5a68bf714
@ -3,6 +3,16 @@ package app.revanced.patches.music.utils.annotations
|
|||||||
import app.revanced.patcher.annotation.Compatibility
|
import app.revanced.patcher.annotation.Compatibility
|
||||||
import app.revanced.patcher.annotation.Package
|
import app.revanced.patcher.annotation.Package
|
||||||
|
|
||||||
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
@Compatibility(
|
||||||
|
[
|
||||||
|
Package(
|
||||||
|
"com.google.android.apps.youtube.music",
|
||||||
|
arrayOf(
|
||||||
|
"6.15.52",
|
||||||
|
"6.17.52"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
]
|
||||||
|
)
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
internal annotation class MusicCompatibility
|
internal annotation class MusicCompatibility
|
||||||
|
Loading…
x
Reference in New Issue
Block a user