summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Marco Nelissen <marcone@google.com> 2013-06-11 14:10:26 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2013-06-11 14:10:26 -0700
commit3826e8bd6e30dbda90f330e4b3facbccc8c4bb9e (patch)
treeee9559ccb95598deb91e44bcb07c8be0ada15393
parentbe173f6a16619ed82469bda7cf0df7c3763d3c81 (diff)
parent374904621a79eb12416da4a26be515ae9a2d243a (diff)
am 37490462: Merge "Unhide MediaExtractor.getPsshInfo()" into jb-mr2-dev
* commit '374904621a79eb12416da4a26be515ae9a2d243a': Unhide MediaExtractor.getPsshInfo()
-rw-r--r--api/current.txt1
-rw-r--r--media/java/android/media/MediaExtractor.java4
2 files changed, 3 insertions, 2 deletions
diff --git a/api/current.txt b/api/current.txt
index cf2f3926f3b3..4d9fe6f4f5a2 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -11884,6 +11884,7 @@ package android.media {
ctor public MediaExtractor();
method public boolean advance();
method public long getCachedDuration();
+ method public java.util.Map<java.util.UUID, byte[]> getPsshInfo();
method public boolean getSampleCryptoInfo(android.media.MediaCodec.CryptoInfo);
method public int getSampleFlags();
method public long getSampleTime();
diff --git a/media/java/android/media/MediaExtractor.java b/media/java/android/media/MediaExtractor.java
index cf159f0ed1db..e558c07d3c87 100644
--- a/media/java/android/media/MediaExtractor.java
+++ b/media/java/android/media/MediaExtractor.java
@@ -199,9 +199,9 @@ final public class MediaExtractor {
public native final int getTrackCount();
/**
- * Get the PSSH info if present. This returns a map of uuid-to-bytes, with the uuid specifying
+ * Get the PSSH info if present.
+ * @return a map of uuid-to-bytes, with the uuid specifying
* the crypto scheme, and the bytes being the data specific to that scheme.
- * {@hide}
*/
public Map<UUID, byte[]> getPsshInfo() {
Map<UUID, byte[]> psshMap = null;