Fix docs on MediaItem.Builder#setDrmUuid

The docs on setLicenseUri say it's optional, and it has been since
379cd8a04f
(which should have changed this javadoc too)

#minor-release

PiperOrigin-RevId: 376139158
This commit is contained in:
ibaker 2021-05-27 12:10:08 +01:00 committed by Oliver Woodman
parent f2e476bd71
commit 6ec0044cd5

View file

@ -284,8 +284,7 @@ public final class MediaItem implements Bundleable {
}
/**
* Sets the {@link UUID} of the protection scheme. If a DRM system UUID is set, the {@link
* DrmConfiguration#licenseUri} needs to be set as well.
* Sets the {@link UUID} of the protection scheme.
*
* <p>If {@link #setUri} is passed a non-null {@code uri}, the DRM system UUID is used to create
* a {@link PlaybackProperties} object. Otherwise it will be ignored.