Merge "Deprecate MediaDrm's EVENT_KEY_EXPIRED method" into oc-dev
am: 92fc8bdd51
Change-Id: I14d1dae73008df0244c1435c1ab634d573208d50
This commit is contained in:
@@ -22342,7 +22342,7 @@ package android.media {
|
||||
method public void setOnKeyStatusChangeListener(android.media.MediaDrm.OnKeyStatusChangeListener, android.os.Handler);
|
||||
method public void setPropertyByteArray(java.lang.String, byte[]);
|
||||
method public void setPropertyString(java.lang.String, java.lang.String);
|
||||
field public static final int EVENT_KEY_EXPIRED = 3; // 0x3
|
||||
field public static final deprecated int EVENT_KEY_EXPIRED = 3; // 0x3
|
||||
field public static final int EVENT_KEY_REQUIRED = 2; // 0x2
|
||||
field public static final deprecated int EVENT_PROVISION_REQUIRED = 1; // 0x1
|
||||
field public static final int EVENT_SESSION_RECLAIMED = 5; // 0x5
|
||||
|
||||
@@ -24171,7 +24171,7 @@ package android.media {
|
||||
method public void setOnKeyStatusChangeListener(android.media.MediaDrm.OnKeyStatusChangeListener, android.os.Handler);
|
||||
method public void setPropertyByteArray(java.lang.String, byte[]);
|
||||
method public void setPropertyString(java.lang.String, java.lang.String);
|
||||
field public static final int EVENT_KEY_EXPIRED = 3; // 0x3
|
||||
field public static final deprecated int EVENT_KEY_EXPIRED = 3; // 0x3
|
||||
field public static final int EVENT_KEY_REQUIRED = 2; // 0x2
|
||||
field public static final deprecated int EVENT_PROVISION_REQUIRED = 1; // 0x1
|
||||
field public static final int EVENT_SESSION_RECLAIMED = 5; // 0x5
|
||||
|
||||
@@ -22449,7 +22449,7 @@ package android.media {
|
||||
method public void setOnKeyStatusChangeListener(android.media.MediaDrm.OnKeyStatusChangeListener, android.os.Handler);
|
||||
method public void setPropertyByteArray(java.lang.String, byte[]);
|
||||
method public void setPropertyString(java.lang.String, java.lang.String);
|
||||
field public static final int EVENT_KEY_EXPIRED = 3; // 0x3
|
||||
field public static final deprecated int EVENT_KEY_EXPIRED = 3; // 0x3
|
||||
field public static final int EVENT_KEY_REQUIRED = 2; // 0x2
|
||||
field public static final deprecated int EVENT_PROVISION_REQUIRED = 1; // 0x1
|
||||
field public static final int EVENT_SESSION_RECLAIMED = 5; // 0x5
|
||||
|
||||
@@ -474,6 +474,9 @@ public final class MediaDrm {
|
||||
/**
|
||||
* This event type indicates that the licensed usage duration for keys in a session
|
||||
* has expired. The keys are no longer valid.
|
||||
* @deprecated Use {@link OnKeyStatusChangeListener#onKeyStatusChange}
|
||||
* and check for {@link MediaDrm.KeyStatus#STATUS_EXPIRED} in the {@link MediaDrm.KeyStatus}
|
||||
* instead.
|
||||
*/
|
||||
public static final int EVENT_KEY_EXPIRED = 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user