diff options
| -rw-r--r-- | media/java/android/media/MediaPlayer.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/media/java/android/media/MediaPlayer.java b/media/java/android/media/MediaPlayer.java index 4b11e3231aba..f8311cd580a9 100644 --- a/media/java/android/media/MediaPlayer.java +++ b/media/java/android/media/MediaPlayer.java @@ -4232,8 +4232,10 @@ public class MediaPlayer extends PlayerBase * @see OnRtpRxNoticeListener * * @param listener the listener called after a notice from RTP Rx - * @param handler the {@link Handler} that receives RTP Tx events - * + * @param handler the {@link Handler} that receives RTP Tx events. If null is passed, + * notifications will be posted on the thread that created this MediaPlayer + * instance. If the creating thread does not have a {@link Looper}, then + * notifications will be posted on the main thread. * @hide */ @SystemApi |