From 48cffc849a8f0f69ca8741c450c7ccb9fd3a0e44 Mon Sep 17 00:00:00 2001 From: ibaker Date: Fri, 15 Mar 2024 06:46:53 -0700 Subject: [PATCH] Fix proguard rule for DefaultVideoFrameProcess.Factory.Builder.build() Issue: androidx/media#1187 #minor-release PiperOrigin-RevId: 616112879 --- RELEASENOTES.md | 3 +++ libraries/exoplayer/proguard-rules.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 6cdf4e334e9..fa7db84490a 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -19,6 +19,9 @@ * Start early-enabled renderers only after advancing the playing period when transitioning between media items ([#1017](https://github.com/androidx/media/issues/1017)). + * Add missing return type to proguard `-keepclasseswithmembers` rule for + `DefaultVideoFrameProcessor.Factory.Builder.build()` + ([#1187](https://github.com/androidx/media/issues/1187)). * Transformer: * Add `audioConversionProcess` and `videoConversionProcess` to `ExportResult` indicating how the respective track in the output file diff --git a/libraries/exoplayer/proguard-rules.txt b/libraries/exoplayer/proguard-rules.txt index 9e041845753..64f8ce1ebae 100644 --- a/libraries/exoplayer/proguard-rules.txt +++ b/libraries/exoplayer/proguard-rules.txt @@ -69,5 +69,5 @@ } -dontnote androidx.media3.effect.DefaultVideoFrameProcessor$Factory$Builder -keepclasseswithmembers class androidx.media3.effect.DefaultVideoFrameProcessor$Factory$Builder { - build(); + androidx.media3.effect.DefaultVideoFrameProcessor$Factory build(); }