Add OptIn annotation to method declaration in demo app file

#cherrypick

PiperOrigin-RevId: 648641357
(cherry picked from commit 0510370bd2)
This commit is contained in:
tianyifeng 2024-07-02 02:16:49 -07:00 committed by Tianyi Feng
parent 5b60f6c67d
commit 6946f49997
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ public final class DemoUtil {
.setExtensionRendererMode(extensionRendererMode);
}
@OptIn(markerClass = androidx.media3.common.util.UnstableApi.class)
public static synchronized DataSource.Factory getHttpDataSourceFactory(Context context) {
if (httpDataSourceFactory != null) {
return httpDataSourceFactory;