Commit 534bc5ad by ibaker Committed by Ian Baker

Deprecate DefaultDrmSessionManager#setDrmUserAgent

PiperOrigin-RevId: 436521418
parent 079e7954
......@@ -61,13 +61,11 @@ public final class DefaultDrmSessionManagerProvider implements DrmSessionManager
}
/**
* Sets the optional user agent to be used for DRM requests.
*
* <p>In case a factory has been set by {@link #setDrmHttpDataSourceFactory(DataSource.Factory)},
* this user agent is ignored.
*
* @param userAgent The user agent to be used for DRM requests.
* @deprecated Pass a custom {@link DataSource.Factory} to {@link
* #setDrmHttpDataSourceFactory(DataSource.Factory)} which sets the desired user agent on
* outgoing requests.
*/
@Deprecated
public void setDrmUserAgent(@Nullable String userAgent) {
this.userAgent = userAgent;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment