Add OptIn annotation to method declaration in demo app file

#cherrypick

PiperOrigin-RevId: 648641357
This commit is contained in:
tianyifeng 2024-07-02 02:16:49 -07:00 committed by Copybara-Service
parent ec3a58f8db
commit 0510370bd2

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;