mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 08:49:25 +01:00
feat(music): remove patches constraint on app version (#1638)
This commit is contained in:
parent
5421c60e7f
commit
fe64881c83
@ -3,32 +3,7 @@ package app.revanced.patches.music.ad.video.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(
|
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
||||||
[Package(
|
|
||||||
"com.google.android.apps.youtube.music",
|
|
||||||
arrayOf(
|
|
||||||
"5.14.53",
|
|
||||||
"5.16.51",
|
|
||||||
"5.17.51",
|
|
||||||
"5.21.52",
|
|
||||||
"5.22.54",
|
|
||||||
"5.23.50",
|
|
||||||
"5.25.51",
|
|
||||||
"5.25.52",
|
|
||||||
"5.26.52",
|
|
||||||
"5.27.51",
|
|
||||||
"5.28.52",
|
|
||||||
"5.29.52",
|
|
||||||
"5.31.50",
|
|
||||||
"5.34.51",
|
|
||||||
"5.36.51",
|
|
||||||
"5.38.53",
|
|
||||||
"5.39.52",
|
|
||||||
"5.40.51",
|
|
||||||
"5.41.50"
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
internal annotation class MusicVideoAdsCompatibility
|
internal annotation class MusicVideoAdsCompatibility
|
||||||
|
@ -3,32 +3,7 @@ package app.revanced.patches.music.audio.codecs.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(
|
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
||||||
[Package(
|
|
||||||
"com.google.android.apps.youtube.music",
|
|
||||||
arrayOf(
|
|
||||||
"5.14.53",
|
|
||||||
"5.16.51",
|
|
||||||
"5.17.51",
|
|
||||||
"5.21.52",
|
|
||||||
"5.22.54",
|
|
||||||
"5.23.50",
|
|
||||||
"5.25.51",
|
|
||||||
"5.25.52",
|
|
||||||
"5.26.52",
|
|
||||||
"5.27.51",
|
|
||||||
"5.28.52",
|
|
||||||
"5.29.52",
|
|
||||||
"5.31.50",
|
|
||||||
"5.34.51",
|
|
||||||
"5.36.51",
|
|
||||||
"5.38.53",
|
|
||||||
"5.39.52",
|
|
||||||
"5.40.51",
|
|
||||||
"5.41.50"
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
internal annotation class CodecsUnlockCompatibility
|
internal annotation class CodecsUnlockCompatibility
|
||||||
|
@ -3,32 +3,7 @@ package app.revanced.patches.music.audio.exclusiveaudio.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(
|
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
||||||
[Package(
|
|
||||||
"com.google.android.apps.youtube.music",
|
|
||||||
arrayOf(
|
|
||||||
"5.14.53",
|
|
||||||
"5.16.51",
|
|
||||||
"5.17.51",
|
|
||||||
"5.21.52",
|
|
||||||
"5.22.54",
|
|
||||||
"5.23.50",
|
|
||||||
"5.25.51",
|
|
||||||
"5.25.52",
|
|
||||||
"5.26.52",
|
|
||||||
"5.27.51",
|
|
||||||
"5.28.52",
|
|
||||||
"5.29.52",
|
|
||||||
"5.31.50",
|
|
||||||
"5.34.51",
|
|
||||||
"5.36.51",
|
|
||||||
"5.38.53",
|
|
||||||
"5.39.52",
|
|
||||||
"5.40.51",
|
|
||||||
"5.41.50"
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
internal annotation class ExclusiveAudioCompatibility
|
internal annotation class ExclusiveAudioCompatibility
|
||||||
|
@ -3,31 +3,7 @@ package app.revanced.patches.music.layout.compactheader.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(
|
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
||||||
[Package(
|
|
||||||
"com.google.android.apps.youtube.music",
|
|
||||||
arrayOf(
|
|
||||||
"5.14.53",
|
|
||||||
"5.16.51",
|
|
||||||
"5.21.52",
|
|
||||||
"5.22.54",
|
|
||||||
"5.23.50",
|
|
||||||
"5.25.51",
|
|
||||||
"5.25.52",
|
|
||||||
"5.26.52",
|
|
||||||
"5.27.51",
|
|
||||||
"5.28.52",
|
|
||||||
"5.29.52",
|
|
||||||
"5.31.50",
|
|
||||||
"5.34.51",
|
|
||||||
"5.36.51",
|
|
||||||
"5.38.53",
|
|
||||||
"5.39.52",
|
|
||||||
"5.40.51",
|
|
||||||
"5.41.50"
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
internal annotation class CompactHeaderCompatibility
|
internal annotation class CompactHeaderCompatibility
|
||||||
|
@ -3,32 +3,7 @@ package app.revanced.patches.music.layout.minimizedplayback.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(
|
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
||||||
[Package(
|
|
||||||
"com.google.android.apps.youtube.music",
|
|
||||||
arrayOf(
|
|
||||||
"5.14.53",
|
|
||||||
"5.16.51",
|
|
||||||
"5.17.51",
|
|
||||||
"5.21.52",
|
|
||||||
"5.22.54",
|
|
||||||
"5.23.50",
|
|
||||||
"5.25.51",
|
|
||||||
"5.25.52",
|
|
||||||
"5.26.52",
|
|
||||||
"5.27.51",
|
|
||||||
"5.28.52",
|
|
||||||
"5.29.52",
|
|
||||||
"5.31.50",
|
|
||||||
"5.34.51",
|
|
||||||
"5.36.51",
|
|
||||||
"5.38.53",
|
|
||||||
"5.39.52",
|
|
||||||
"5.40.51",
|
|
||||||
"5.41.50"
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
internal annotation class MinimizedPlaybackCompatibility
|
internal annotation class MinimizedPlaybackCompatibility
|
||||||
|
@ -8,29 +8,7 @@ import app.revanced.patcher.annotation.Package
|
|||||||
* Since 5.17.xx the tastebuilder component is dismissible, so this patch is less useful
|
* Since 5.17.xx the tastebuilder component is dismissible, so this patch is less useful
|
||||||
* also it is partly litho now
|
* also it is partly litho now
|
||||||
*/
|
*/
|
||||||
@Compatibility(
|
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
||||||
[Package(
|
|
||||||
"com.google.android.apps.youtube.music",
|
|
||||||
arrayOf(
|
|
||||||
"5.21.52",
|
|
||||||
"5.22.54",
|
|
||||||
"5.23.50",
|
|
||||||
"5.25.51",
|
|
||||||
"5.25.52",
|
|
||||||
"5.26.52",
|
|
||||||
"5.27.51",
|
|
||||||
"5.28.52",
|
|
||||||
"5.29.52",
|
|
||||||
"5.31.50",
|
|
||||||
"5.34.51",
|
|
||||||
"5.36.51",
|
|
||||||
"5.38.53",
|
|
||||||
"5.39.52",
|
|
||||||
"5.40.51",
|
|
||||||
"5.41.50"
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
internal annotation class RemoveTasteBuilderCompatibility
|
internal annotation class RemoveTasteBuilderCompatibility
|
||||||
|
@ -3,32 +3,7 @@ package app.revanced.patches.music.layout.upgradebutton.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(
|
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
||||||
[Package(
|
|
||||||
"com.google.android.apps.youtube.music",
|
|
||||||
arrayOf(
|
|
||||||
"5.14.53",
|
|
||||||
"5.16.51",
|
|
||||||
"5.17.51",
|
|
||||||
"5.21.52",
|
|
||||||
"5.22.54",
|
|
||||||
"5.23.50",
|
|
||||||
"5.25.51",
|
|
||||||
"5.25.52",
|
|
||||||
"5.26.52",
|
|
||||||
"5.27.51",
|
|
||||||
"5.28.52",
|
|
||||||
"5.29.52",
|
|
||||||
"5.31.50",
|
|
||||||
"5.34.51",
|
|
||||||
"5.36.51",
|
|
||||||
"5.38.53",
|
|
||||||
"5.39.52",
|
|
||||||
"5.40.51",
|
|
||||||
"5.41.50"
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
internal annotation class RemoveUpgradeButtonCompatibility
|
internal annotation class RemoveUpgradeButtonCompatibility
|
||||||
|
@ -3,32 +3,7 @@ package app.revanced.patches.music.misc.microg.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(
|
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
||||||
[Package(
|
|
||||||
"com.google.android.apps.youtube.music",
|
|
||||||
arrayOf(
|
|
||||||
"5.14.53",
|
|
||||||
"5.16.51",
|
|
||||||
"5.17.51",
|
|
||||||
"5.21.52",
|
|
||||||
"5.22.54",
|
|
||||||
"5.23.50",
|
|
||||||
"5.25.51",
|
|
||||||
"5.25.52",
|
|
||||||
"5.26.52",
|
|
||||||
"5.27.51",
|
|
||||||
"5.28.52",
|
|
||||||
"5.29.52",
|
|
||||||
"5.31.50",
|
|
||||||
"5.34.51",
|
|
||||||
"5.36.51",
|
|
||||||
"5.38.53",
|
|
||||||
"5.39.52",
|
|
||||||
"5.40.51",
|
|
||||||
"5.41.50"
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
internal annotation class MusicMicroGPatchCompatibility
|
internal annotation class MusicMicroGPatchCompatibility
|
||||||
|
@ -3,32 +3,7 @@ package app.revanced.patches.music.premium.backgroundplay.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(
|
@Compatibility([Package("com.google.android.apps.youtube.music")])
|
||||||
[Package(
|
|
||||||
"com.google.android.apps.youtube.music",
|
|
||||||
arrayOf(
|
|
||||||
"5.14.53",
|
|
||||||
"5.16.51",
|
|
||||||
"5.17.51",
|
|
||||||
"5.21.52",
|
|
||||||
"5.22.54",
|
|
||||||
"5.23.50",
|
|
||||||
"5.25.51",
|
|
||||||
"5.25.52",
|
|
||||||
"5.26.52",
|
|
||||||
"5.27.51",
|
|
||||||
"5.28.52",
|
|
||||||
"5.29.52",
|
|
||||||
"5.31.50",
|
|
||||||
"5.34.51",
|
|
||||||
"5.36.51",
|
|
||||||
"5.38.53",
|
|
||||||
"5.39.52",
|
|
||||||
"5.40.51",
|
|
||||||
"5.41.50"
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
internal annotation class BackgroundPlayCompatibility
|
internal annotation class BackgroundPlayCompatibility
|
||||||
|
Loading…
Reference in New Issue
Block a user