diff options
| author | RoboErik <epastern@google.com> | 2014-03-20 13:33:52 -0700 |
|---|---|---|
| committer | RoboErik <epastern@google.com> | 2014-04-17 15:02:33 -0700 |
| commit | 07c7077c54717dbbf2c401ea32d00fa6df6d77c6 (patch) | |
| tree | 49f9e8019caa93c702c6d2d8213767de3d1499c6 /core/java/android/app/ContextImpl.java | |
| parent | 46175e152891eabd9051523f2f077de5a5562996 (diff) | |
| download | frameworks_base-07c7077c54717dbbf2c401ea32d00fa6df6d77c6.zip frameworks_base-07c7077c54717dbbf2c401ea32d00fa6df6d77c6.tar.gz frameworks_base-07c7077c54717dbbf2c401ea32d00fa6df6d77c6.tar.bz2 | |
Add RouteProviders to the new Media APIs
Compiles and works with OneMedia. This currently is a rough test of
the system for finding, connecting to, and sending messages to routes.
This will just connect to the first route it finds when a request to
open the route picker is made (and disconnect when another request is
made).
Change-Id: I5de5521a079471b9e02664be4654c0591dfd9a6d
Diffstat (limited to 'core/java/android/app/ContextImpl.java')
| -rw-r--r-- | core/java/android/app/ContextImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/ContextImpl.java b/core/java/android/app/ContextImpl.java index 77b5485..f1ce54a 100644 --- a/core/java/android/app/ContextImpl.java +++ b/core/java/android/app/ContextImpl.java @@ -67,7 +67,7 @@ import android.location.ILocationManager; import android.location.LocationManager; import android.media.AudioManager; import android.media.MediaRouter; -import android.media.session.MediaSessionManager; +import android.media.session.SessionManager; import android.net.ConnectivityManager; import android.net.IConnectivityManager; import android.net.INetworkPolicyManager; @@ -639,7 +639,7 @@ class ContextImpl extends Context { registerService(MEDIA_SESSION_SERVICE, new ServiceFetcher() { public Object createService(ContextImpl ctx) { - return new MediaSessionManager(ctx); + return new SessionManager(ctx); } }); registerService(TRUST_SERVICE, new ServiceFetcher() { |
