mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00
Add @OptIn
to fields in demo PlayerActivity
now this is supported
This is possible now we use `annotation-experimental:1.3.1`. #minor-release PiperOrigin-RevId: 582315579 (cherry picked from commit 8d83d491f198fbe3a21181df235dfff314252929)
This commit is contained in:
parent
f90726a78d
commit
1b83c59759
@ -93,11 +93,11 @@ public class PlayerActivity extends AppCompatActivity
|
||||
|
||||
@Nullable private AdsLoader clientSideAdsLoader;
|
||||
|
||||
// TODO: Annotate this and serverSideAdsLoaderState below with @OptIn when it can be applied to
|
||||
// fields (needs http://r.android.com/2004032 to be released into a version of
|
||||
// androidx.annotation:annotation-experimental).
|
||||
@Nullable private ImaServerSideAdInsertionMediaSource.AdsLoader serverSideAdsLoader;
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
@Nullable
|
||||
private ImaServerSideAdInsertionMediaSource.AdsLoader serverSideAdsLoader;
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
private ImaServerSideAdInsertionMediaSource.AdsLoader.@MonotonicNonNull State
|
||||
serverSideAdsLoaderState;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user