From 0493f8035b26b90c5f8e42be2e2a5ce73d8685a5 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sat, 17 May 2025 11:40:37 +0400 Subject: [PATCH] fix(Spotify - Fix third party launchers widgets): Add missing compatibility annotation --- .../spotify/misc/widgets/FixThirdPartyLaunchersWidgets.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patches/src/main/kotlin/app/revanced/patches/spotify/misc/widgets/FixThirdPartyLaunchersWidgets.kt b/patches/src/main/kotlin/app/revanced/patches/spotify/misc/widgets/FixThirdPartyLaunchersWidgets.kt index f0ec93bb6..ad40f24e2 100644 --- a/patches/src/main/kotlin/app/revanced/patches/spotify/misc/widgets/FixThirdPartyLaunchersWidgets.kt +++ b/patches/src/main/kotlin/app/revanced/patches/spotify/misc/widgets/FixThirdPartyLaunchersWidgets.kt @@ -8,6 +8,8 @@ val fixThirdPartyLaunchersWidgets = bytecodePatch( name = "Fix third party launchers widgets", description = "Fixes Spotify widgets not working in third party launchers, like Nova Launcher.", ) { + compatibleWith("com.spotify.music") + execute { // Only system app launchers are granted the BIND_APPWIDGET permission. // Override the method that checks for it to always return true, as this permission is not actually required