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

Commit 91b7a92c authored by Jae Seo's avatar Jae Seo Committed by android-build-merger
Browse files

Merge "MediaBrowserService: Add more explanation on getBrowserRootHints()"...

Merge "MediaBrowserService: Add more explanation on getBrowserRootHints()" into nyc-dev am: 44fbbfd2
am: 79108f18

* commit '79108f18':
  MediaBrowserService: Add more explanation on getBrowserRootHints()

Change-Id: Ic01bd347bb78c5d3119d4f5e8ecf02c736b7018c
parents f778cf77 79108f18
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -489,9 +489,15 @@ public abstract class MediaBrowserService extends Service {

    /**
     * Gets the root hints sent from the currently connected {@link MediaBrowser}.
     * The root hints are service-specific arguments included in an optional bundle sent to the
     * media browser service when connecting and retrieving the root id for browsing, or null if
     * none. The contents of this bundle may affect the information returned when browsing.
     *
     * @throws IllegalStateException If this method is called outside of {@link #onLoadChildren}
     *             or {@link #onLoadItem}
     * @see MediaBrowserService.BrowserRoot#EXTRA_RECENT
     * @see MediaBrowserService.BrowserRoot#EXTRA_OFFLINE
     * @see MediaBrowserService.BrowserRoot#EXTRA_SUGGESTED
     */
    public final Bundle getBrowserRootHints() {
        if (mCurConnection == null) {