From 41ce635a4201d4b17e964b2c7112901863e527de Mon Sep 17 00:00:00 2001 From: ibaker Date: Thu, 27 May 2021 12:10:08 +0100 Subject: [PATCH] Fix docs on MediaItem.Builder#setDrmUuid The docs on setLicenseUri say it's optional, and it has been since https://github.com/google/ExoPlayer/commit/379cd8a04f0bf44a9422a08440223581b2657d74 (which should have changed this javadoc too) #minor-release PiperOrigin-RevId: 376139158 --- .../src/main/java/com/google/android/exoplayer2/MediaItem.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/common/src/main/java/com/google/android/exoplayer2/MediaItem.java b/library/common/src/main/java/com/google/android/exoplayer2/MediaItem.java index c2d9acad7c..99af3b06e0 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/MediaItem.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/MediaItem.java @@ -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. * *

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.