Unhide secure stop APIs
Change-Id: If25406a6657c8f9d558e659bf5af73bac9bc434c
related-to-bug: 18053197
related-to-bug: 18076411
diff --git a/api/current.txt b/api/current.txt
index 98bfd50..25b36b6 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -14840,6 +14840,7 @@
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 @@
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[]);
diff --git a/media/java/android/media/MediaDrm.java b/media/java/android/media/MediaDrm.java
index 7959841..78a5abe 100644
--- a/media/java/android/media/MediaDrm.java
+++ b/media/java/android/media/MediaDrm.java
@@ -576,8 +576,6 @@
* 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 @@
/**
* Remove all secure stops without requiring interaction with the server.
- *
- * @hide - not part of the public API at this time
*/
public native void releaseAllSecureStops();