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

Commit 2492c00a authored by Dongwon Kang's avatar Dongwon Kang
Browse files

Unhide MediaPlayer#MEDIA_INFO_STARTED_AS_NEXT

Expose a listener constant which is used with OnInfoListener() in
order to notify that the player instance started the playback since
previous player just completed the playback.

Bug: 76121592
Test: make offline-sdk-docs
Change-Id: I69ade8e9f6916bc653ea2831e3721dc7d171dc0e
parent 631f55ba
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -24001,6 +24001,7 @@ package android.media {
    field public static final int MEDIA_INFO_BUFFERING_START = 701; // 0x2bd
    field public static final int MEDIA_INFO_METADATA_UPDATE = 802; // 0x322
    field public static final int MEDIA_INFO_NOT_SEEKABLE = 801; // 0x321
    field public static final int MEDIA_INFO_STARTED_AS_NEXT = 2; // 0x2
    field public static final int MEDIA_INFO_SUBTITLE_TIMED_OUT = 902; // 0x386
    field public static final int MEDIA_INFO_UNKNOWN = 1; // 0x1
    field public static final int MEDIA_INFO_UNSUPPORTED_SUBTITLE = 901; // 0x385
+1 −1
Original line number Diff line number Diff line
@@ -4099,8 +4099,8 @@ public class MediaPlayer extends PlayerBase

    /** The player was started because it was used as the next player for another
     * player, which just completed playback.
     * @see android.media.MediaPlayer#setNextMediaPlayer(MediaPlayer)
     * @see android.media.MediaPlayer.OnInfoListener
     * @hide
     */
    public static final int MEDIA_INFO_STARTED_AS_NEXT = 2;