MediaPlayer: add comments of restriction for setNextMediaPlayer. am: 295e727545

am: bff3f8a337

Change-Id: I86366b9ac51539ae4000810418b9d3a688231d4e
This commit is contained in:
Wei Jia
2016-09-16 01:48:44 +00:00
committed by android-build-merger

View File

@@ -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.