summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/Context.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-06-11 15:08:39 -0700
committerDianne Hackborn <hackbod@google.com>2012-06-11 15:41:08 -0700
commitb58b8f832d06b0ffa8886eba5a4916578a3b8743 (patch)
tree46c116da0e9c0f7fb6b9403b18771bdffe8760d9 /core/java/android/content/Context.java
parentfbce66cb259cb63b43fda654db68152b8b4a2c2f (diff)
downloadframeworks_base-b58b8f832d06b0ffa8886eba5a4916578a3b8743.zip
frameworks_base-b58b8f832d06b0ffa8886eba5a4916578a3b8743.tar.gz
frameworks_base-b58b8f832d06b0ffa8886eba5a4916578a3b8743.tar.bz2
Rework media router to be per-context with global process state.
Change-Id: Ic1cb6f13e691d22783bcdafae85b7c75aec0a66f
Diffstat (limited to 'core/java/android/content/Context.java')
-rw-r--r--core/java/android/content/Context.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index 4c169d3..7588cda 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -1528,6 +1528,8 @@ public abstract class Context {
* @see android.net.wifi.WifiManager
* @see #AUDIO_SERVICE
* @see android.media.AudioManager
+ * @see #MEDIA_ROUTER_SERVICE
+ * @see android.media.MediaRouter
* @see #TELEPHONY_SERVICE
* @see android.telephony.TelephonyManager
* @see #INPUT_METHOD_SERVICE
@@ -1778,7 +1780,6 @@ public abstract class Context {
*/
public static final String NSD_SERVICE = "servicediscovery";
-
/**
* Use with {@link #getSystemService} to retrieve a
* {@link android.media.AudioManager} for handling management of volume,
@@ -1791,6 +1792,16 @@ public abstract class Context {
/**
* Use with {@link #getSystemService} to retrieve a
+ * {@link android.media.MediaRouter} for controlling and managing
+ * routing of media.
+ *
+ * @see #getSystemService
+ * @see android.media.MediaRouter
+ */
+ public static final String MEDIA_ROUTER_SERVICE = "media_router";
+
+ /**
+ * Use with {@link #getSystemService} to retrieve a
* {@link android.telephony.TelephonyManager} for handling management the
* telephony features of the device.
*