From 961d204c2c286329a37fcff247d2c9e15d14cae7 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 (cherry picked from commit 48cffc849a8f0f69ca8741c450c7ccb9fd3a0e44) --- 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 4b2948cf4f1..5dac88260ff 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -10,6 +10,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 workaround for exception thrown due to `MediaMuxer` not supporting negative presentation timestamps before API 30. 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(); }