From 68cee05fc30749a053c629173316ea2c5072f257 Mon Sep 17 00:00:00 2001 From: Robert Shih Date: Fri, 15 Mar 2019 13:59:06 -0700 Subject: [PATCH] MediaDrm: [Security,Hdcp]Level @deprecated javadoc Bug: 127625289 Test: build Change-Id: I1d5559eb8e46f7df7952daca09fdd0c0a55dc114 --- media/java/android/media/MediaDrm.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/media/java/android/media/MediaDrm.java b/media/java/android/media/MediaDrm.java index 2c53d8ce545e5..579ee8debae5e 100644 --- a/media/java/android/media/MediaDrm.java +++ b/media/java/android/media/MediaDrm.java @@ -1363,6 +1363,17 @@ public final class MediaDrm implements AutoCloseable { removeAllSecureStops();; } + /** + * @deprecated Not of any use for application development; + * please note that the related integer constants remain supported: + * {@link #HDCP_LEVEL_UNKNOWN}, + * {@link #HDCP_NONE}, + * {@link #HDCP_V1}, + * {@link #HDCP_V2}, + * {@link #HDCP_V2_1}, + * {@link #HDCP_V2_2}, + * {@link #HDCP_V2_3} + */ @Deprecated @Retention(RetentionPolicy.SOURCE) @IntDef({HDCP_LEVEL_UNKNOWN, HDCP_NONE, HDCP_V1, HDCP_V2, @@ -1456,6 +1467,15 @@ public final class MediaDrm implements AutoCloseable { /** * Security level indicates the robustness of the device's DRM * implementation. + * + * @deprecated Not of any use for application development; + * please note that the related integer constants remain supported: + * {@link #SECURITY_LEVEL_UNKNOWN}, + * {@link #SECURITY_LEVEL_SW_SECURE_CRYPTO}, + * {@link #SECURITY_LEVEL_SW_SECURE_DECODE}, + * {@link #SECURITY_LEVEL_HW_SECURE_CRYPTO}, + * {@link #SECURITY_LEVEL_HW_SECURE_DECODE}, + * {@link #SECURITY_LEVEL_HW_SECURE_ALL} */ @Deprecated @Retention(RetentionPolicy.SOURCE)