Remove deprecated DrmSessionManager.DUMMY
and getter method
Use `DRM_UNSUPPORTED` constant instead. PiperOrigin-RevId: 636937592
This commit is contained in:
parent
7fd8a06e08
commit
763a5f0272
@ -213,6 +213,8 @@
|
|||||||
`DashMediaSource.DEFAULT_FALLBACK_TARGET_LIVE_OFFSET_MS` instead.
|
`DashMediaSource.DEFAULT_FALLBACK_TARGET_LIVE_OFFSET_MS` instead.
|
||||||
* Remove `MediaCodecInfo.isSeamlessAdaptationSupported(Format, Format,
|
* Remove `MediaCodecInfo.isSeamlessAdaptationSupported(Format, Format,
|
||||||
boolean)`. Use `MediaCodecInfo.canReuseCodec(Format, Format)` instead.
|
boolean)`. Use `MediaCodecInfo.canReuseCodec(Format, Format)` instead.
|
||||||
|
* Remove `DrmSessionManager.DUMMY` and `getDummyDrmSessionManager()`
|
||||||
|
method. Use `DrmSessionManager.DRM_UNSUPPORTED` instead.
|
||||||
|
|
||||||
## 1.4
|
## 1.4
|
||||||
|
|
||||||
|
@ -71,23 +71,6 @@ public interface DrmSessionManager {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* An instance that supports no DRM schemes.
|
|
||||||
*
|
|
||||||
* @deprecated Use {@link #DRM_UNSUPPORTED}.
|
|
||||||
*/
|
|
||||||
@Deprecated DrmSessionManager DUMMY = DRM_UNSUPPORTED;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns {@link #DRM_UNSUPPORTED}.
|
|
||||||
*
|
|
||||||
* @deprecated Use {@link #DRM_UNSUPPORTED}.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
static DrmSessionManager getDummyDrmSessionManager() {
|
|
||||||
return DRM_UNSUPPORTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Acquires any required resources.
|
* Acquires any required resources.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user