From 6ec0044cd5d8ee357920cc82d33b1ccd67bac672 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 8e9ecb27d1..1d0b1ea40b 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.