mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Add OptIn annotation to method declaration in demo app file
#cherrypick PiperOrigin-RevId: 648641357
This commit is contained in:
parent
ec3a58f8db
commit
0510370bd2
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ public final class DemoUtil {
|
||||||
.setExtensionRendererMode(extensionRendererMode);
|
.setExtensionRendererMode(extensionRendererMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OptIn(markerClass = androidx.media3.common.util.UnstableApi.class)
|
||||||
public static synchronized DataSource.Factory getHttpDataSourceFactory(Context context) {
|
public static synchronized DataSource.Factory getHttpDataSourceFactory(Context context) {
|
||||||
if (httpDataSourceFactory != null) {
|
if (httpDataSourceFactory != null) {
|
||||||
return httpDataSourceFactory;
|
return httpDataSourceFactory;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue