Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 846e712d authored by Jeff Tinker's avatar Jeff Tinker
Browse files

Unhide secure stop APIs

Change-Id: If25406a6657c8f9d558e659bf5af73bac9bc434c
related-to-bug: 18053197
related-to-bug: 18076411
parent 968ef51c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -14840,6 +14840,7 @@ package android.media {
    method public byte[] getPropertyByteArray(java.lang.String);
    method public java.lang.String getPropertyString(java.lang.String);
    method public android.media.MediaDrm.ProvisionRequest getProvisionRequest();
    method public byte[] getSecureStop(byte[]);
    method public java.util.List<byte[]> getSecureStops();
    method public static final boolean isCryptoSchemeSupported(java.util.UUID);
    method public static final boolean isCryptoSchemeSupported(java.util.UUID, java.lang.String);
@@ -14848,6 +14849,7 @@ package android.media {
    method public void provideProvisionResponse(byte[]) throws android.media.DeniedByServerException;
    method public java.util.HashMap<java.lang.String, java.lang.String> queryKeyStatus(byte[]);
    method public final void release();
    method public void releaseAllSecureStops();
    method public void releaseSecureStops(byte[]);
    method public void removeKeys(byte[]);
    method public void restoreKeys(byte[], byte[]);
+0 −4
Original line number Diff line number Diff line
@@ -576,8 +576,6 @@ public final class MediaDrm {
     * Access secure stop by secure stop ID.
     *
     * @param ssid - The secure stop ID provided by the license server.
     *
     * @hide - not part of the public API at this time
     */
    public native byte[] getSecureStop(byte[] ssid);

@@ -591,8 +589,6 @@ public final class MediaDrm {

    /**
     * Remove all secure stops without requiring interaction with the server.
     *
     * @hide - not part of the public API at this time
     */
     public native void releaseAllSecureStops();