Merge "MediaSession2: Remove onPlaylistChanged() without metadata" into pi-dev

This commit is contained in:
Jaewan Kim
2018-03-16 02:31:36 +00:00
committed by Android (Google) Code Review

View File

@@ -138,23 +138,6 @@ public class MediaController2 implements AutoCloseable {
@NonNull Command command, @Nullable Bundle args,
@Nullable ResultReceiver receiver) { }
/**
* Called when the playlist is changed.
* <p>
* If the previously playing media item is gone, you should invalidate previous playback
* information and wait for later callbacks.
*
* @param controller the controller for this event
* @param playlist A new playlist set by the session.
* @see #onPositionChanged(MediaController2, long, long)
* @see #onBufferedPositionChanged(MediaController2, long)
* @see #onCurrentMediaItemChanged(MediaController2, MediaItem2)
* @hide
*/
// TODO(jaewan): Remove (b/74174728)
public void onPlaylistChanged(@NonNull MediaController2 controller,
@NonNull List<MediaItem2> playlist) { }
/**
* Called when the player state is changed.
*