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

Commit ecba2e4b authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Unhide MediaExtractor.getPsshInfo()

b/9373882

Change-Id: I2af42656d6a7eb19e8e9ec798b615dab0d9d33cb
parent ebb17713
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11883,6 +11883,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();
+2 −2
Original line number Diff line number Diff line
@@ -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;