MediaDrm: [Security,Hdcp]Level @deprecated javadoc

Bug: 127625289
Test: build
Change-Id: I1d5559eb8e46f7df7952daca09fdd0c0a55dc114
This commit is contained in:
Robert Shih
2019-03-15 13:59:06 -07:00
parent b7fef05bc7
commit 68cee05fc3

View File

@@ -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)