Throw IllegalStateException in MediaBrowserCompat.search()
This CL makes MediaBrowserCompat.search() throw IllegalStateException
when the browser is not connected to the service. Also, it updates
the JavaDoc of deprecated constant
MediaBrowserServiceCompat.EXTRA_SUGGESTION_KEYWORDS to provide more
complete story for developers migrating to the new search API.
Bug: 35346000, Bug: 35944789
Test: Manually called search() when disconnected.
Change-Id: I65a4453194a546fa3a49aa13c5262930668db36a
2 files changed