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

Commit bff3f8a3 authored by Wei Jia's avatar Wei Jia Committed by android-build-merger
Browse files

MediaPlayer: add comments of restriction for setNextMediaPlayer.

am: 295e7275

Change-Id: Ie1fa26a735bfd1167a94796ca379f5b860e959b4
parents 82440a78 295e7275
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1641,7 +1641,8 @@ public class MediaPlayer extends PlayerBase
     * (i.e. reaches the end of the stream).
     * The media framework will attempt to transition from this player to
     * the next as seamlessly as possible. The next player can be set at
     * any time before completion. The next player must be prepared by the
     * any time before completion, but shall be after setDataSource has been
     * called successfully. The next player must be prepared by the
     * app, and the application should not call start() on it.
     * The next MediaPlayer must be different from 'this'. An exception
     * will be thrown if next == this.