From e75239493448ba31db6b9e2530e3dadccbd67d66 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:47:39 +0200 Subject: [PATCH] Bump android-gradle-plugin from 8.5.2 to 8.6.0 (#691) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gaƫtan Muller --- gradle/libs.versions.toml | 2 +- .../pillarbox/player/extension/TrackSelectionParameters.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f03fe864b..0cfb3eec4 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] accompanist = "0.34.0" -android-gradle-plugin = "8.5.2" +android-gradle-plugin = "8.6.0" androidx-activity = "1.9.1" androidx-annotation = "1.8.2" androidx-compose = "2024.06.00" diff --git a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/extension/TrackSelectionParameters.kt b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/extension/TrackSelectionParameters.kt index e0b70f23d..574afbd83 100644 --- a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/extension/TrackSelectionParameters.kt +++ b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/extension/TrackSelectionParameters.kt @@ -95,6 +95,7 @@ fun TrackSelectionParameters.enableVideoTrack(): TrackSelectionParameters { * @return */ fun TrackSelectionParameters.disableTextTrack(): TrackSelectionParameters { + @Suppress("WrongConstant") // Lint embedded in AGP 8.6.0 doesn't seem to recognize inverted flags in setIgnoredTextSelectionFlags() return buildUpon() .clearOverridesOfType(C.TRACK_TYPE_TEXT) .setPreferredTextRoleFlags(0)