From ecba2e4b953e9480b5084c04ec0cb5a8ba574b03 Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Mon, 10 Jun 2013 15:06:28 -0700 Subject: Unhide MediaExtractor.getPsshInfo() b/9373882 Change-Id: I2af42656d6a7eb19e8e9ec798b615dab0d9d33cb --- api/current.txt | 1 + media/java/android/media/MediaExtractor.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api/current.txt b/api/current.txt index 092fe168ad0d..ed1983481262 100644 --- a/api/current.txt +++ b/api/current.txt @@ -11883,6 +11883,7 @@ package android.media { ctor public MediaExtractor(); method public boolean advance(); method public long getCachedDuration(); + method public java.util.Map 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 getPsshInfo() { Map psshMap = null; -- cgit v1.2.3-59-g8ed1b