From 81a173fadf9835b5840042d54abb1cf84d2b4f73 Mon Sep 17 00:00:00 2001 From: Robert Shih Date: Fri, 25 Feb 2022 08:31:16 +0000 Subject: [PATCH] Fix MediaDrm.PlaybackComponent#setLogSessionId doc * s,Get,Set, * @throws UnsupportedOperationException Bug: 219400367 Change-Id: Id2718562718d0a2ba6449c4ec8ac9abaa0266a46 Test: build --- media/java/android/media/MediaDrm.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/media/java/android/media/MediaDrm.java b/media/java/android/media/MediaDrm.java index 3a19b136b06e0..9d9b0cb8ba6f7 100644 --- a/media/java/android/media/MediaDrm.java +++ b/media/java/android/media/MediaDrm.java @@ -2966,7 +2966,13 @@ public final class MediaDrm implements AutoCloseable { /** - * Gets the {@link LogSessionId}. + * Sets the {@link LogSessionId}. + * + *

The implementation of this method varies by DRM provider; Please refer + * to your DRM provider documentation for more details on this method. + * + * @throws UnsupportedOperationException when the vendor plugin does not + * implement this method */ public void setLogSessionId(@NonNull LogSessionId logSessionId) { Objects.requireNonNull(logSessionId);