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)