OSDN Git Service

Remote volume handling in MediaRouter
authorJean-Michel Trivi <jmtrivi@google.com>
Tue, 19 Jun 2012 21:03:09 +0000 (14:03 -0700)
committerJean-Michel Trivi <jmtrivi@google.com>
Wed, 20 Jun 2012 02:41:35 +0000 (19:41 -0700)
commit1357012968f9066ea3051d83995e9bac69526c3c
tree3f633ea7356eb17d96bfc0f717ad9c38a35196fa
parentfe54cb6f3da7fe95d5141d97b0c6780e001ad058
Remote volume handling in MediaRouter

Extend MediaRouter.UserRouteInfo to enable setting playback
 information, which includes volume. When the user route instance
 has a RemoteControlClient, forward any playback information to it.
 Enable specifying a callback to be notified of volume events
 on the route.
Extend MediaRouter.RouteInfo to enable retrieving playback
 information.

Update RemoteControlClient javadoc to reflect which parts of the
 API are not intended to be made public.

Change-Id: I59d728eb61747af6c8c89d53f0faeb07940594c3
Android.mk
core/java/android/content/Intent.java
media/java/android/media/AudioService.java
media/java/android/media/IAudioService.aidl
media/java/android/media/IRemoteVolumeObserver.aidl [new file with mode: 0644]
media/java/android/media/MediaRouter.java
media/java/android/media/RemoteControlClient.java