summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Robert Shih <robertshih@google.com> 2022-02-25 08:31:16 +0000
committer Robert Shih <robertshih@google.com> 2022-03-01 18:21:13 +0000
commit81a173fadf9835b5840042d54abb1cf84d2b4f73 (patch)
treedc4d5141f7f6180c23f7ac12fc7eb31932680032
parent5e674cef37cd7669807d30459022059328a75d9b (diff)
Fix MediaDrm.PlaybackComponent#setLogSessionId doc
* s,Get,Set, * @throws UnsupportedOperationException Bug: 219400367 Change-Id: Id2718562718d0a2ba6449c4ec8ac9abaa0266a46 Test: build
-rw-r--r--media/java/android/media/MediaDrm.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/media/java/android/media/MediaDrm.java b/media/java/android/media/MediaDrm.java
index 3a19b136b06e..9d9b0cb8ba6f 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}.
+ *
+ * <p>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);