Commit 3b00561b by Googler Committed by tonihei

Fix error in documentation string

The current javadoc refers to the SessionCallback#onConnected, which doesn't exist.

PiperOrigin-RevId: 510261965
(cherry picked from commit fc642eb4)
parent 6a273a5f
...@@ -371,7 +371,7 @@ public class MediaSession { ...@@ -371,7 +371,7 @@ public class MediaSession {
* @param remoteUserInfo The remote user info. * @param remoteUserInfo The remote user info.
* @param trusted {@code true} if trusted, {@code false} otherwise. * @param trusted {@code true} if trusted, {@code false} otherwise.
* @param cb ControllerCb. Can be {@code null} only when a MediaBrowserCompat connects to * @param cb ControllerCb. Can be {@code null} only when a MediaBrowserCompat connects to
* MediaSessionService and ControllerInfo is needed for SessionCallback#onConnected(). * MediaSessionService and ControllerInfo is needed for {@code SessionCallback#onConnect()}.
* @param connectionHints A session-specific argument sent from the controller for the * @param connectionHints A session-specific argument sent from the controller for the
* connection. The contents of this bundle may affect the connection result. * connection. The contents of this bundle may affect the connection result.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment