mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix RequiresApi annotation
#minor-release PiperOrigin-RevId: 357273184
This commit is contained in:
parent
18722bfb0b
commit
0b63c17a7e
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ import java.util.Map;
|
||||||
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||||
|
|
||||||
/** Default implementation of {@link DrmSessionManagerProvider}. */
|
/** Default implementation of {@link DrmSessionManagerProvider}. */
|
||||||
@RequiresApi(18)
|
|
||||||
public final class DefaultDrmSessionManagerProvider implements DrmSessionManagerProvider {
|
public final class DefaultDrmSessionManagerProvider implements DrmSessionManagerProvider {
|
||||||
|
|
||||||
private final Object lock;
|
private final Object lock;
|
||||||
|
|
@ -92,6 +91,7 @@ public final class DefaultDrmSessionManagerProvider implements DrmSessionManager
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RequiresApi(18)
|
||||||
private DrmSessionManager createManager(MediaItem.DrmConfiguration drmConfiguration) {
|
private DrmSessionManager createManager(MediaItem.DrmConfiguration drmConfiguration) {
|
||||||
HttpDataSource.Factory dataSourceFactory =
|
HttpDataSource.Factory dataSourceFactory =
|
||||||
drmHttpDataSourceFactory != null
|
drmHttpDataSourceFactory != null
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue