Class android.media.MediaDrm

Added interface java.lang.AutoCloseable.

Added Methods
void close()  
int getConnectedHdcpLevel()  
int getMaxHdcpLevel()  
int getMaxSecurityLevel()  
int getMaxSessionCount()  
PersistableBundle getMetrics()  
int getOpenSessionCount()  
List<byte[]> getSecureStopIds()  
int getSecurityLevel(byte[])  
byte[] openSession(int)  
void removeAllSecureStops()  
void removeSecureStop(byte[])  
 

Changed Methods
void finalize() Change in exceptions thrown from no exceptions to java.lang.Throwable.
Method was locally defined, but is now inherited from Object.
 
void release() Change from final to non-final.
Now deprecated.
 
void releaseAllSecureStops() Now deprecated.
 
boolean isCryptoSchemeSupported(UUID) Change from final to non-final.
 
boolean isCryptoSchemeSupported(UUID, String) Change from final to non-final.
 
 

Added Fields
int HDCP_LEVEL_UNKNOWN  
int HDCP_NONE  
int HDCP_NO_DIGITAL_OUTPUT  
int HDCP_V1  
int HDCP_V2  
int HDCP_V2_1  
int HDCP_V2_2  
int SECURITY_LEVEL_HW_SECURE_ALL  
int SECURITY_LEVEL_HW_SECURE_CRYPTO  
int SECURITY_LEVEL_HW_SECURE_DECODE  
int SECURITY_LEVEL_SW_SECURE_CRYPTO  
int SECURITY_LEVEL_SW_SECURE_DECODE  
int SECURITY_LEVEL_UNKNOWN