summaryrefslogtreecommitdiffstats
path: root/media/java
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2012-06-18 11:51:34 -0700
committerAdam Powell <adamp@google.com>2012-06-18 11:52:17 -0700
commit4ee1f55ce0f4909a7430ab44563a81852f335071 (patch)
treee8434de6db613b12124ff3b62b97064eecf72e6a /media/java
parent1c1ece1bd2ecfa6eacd1a1de8f529e81415f165d (diff)
downloadframeworks_base-4ee1f55ce0f4909a7430ab44563a81852f335071.zip
frameworks_base-4ee1f55ce0f4909a7430ab44563a81852f335071.tar.gz
frameworks_base-4ee1f55ce0f4909a7430ab44563a81852f335071.tar.bz2
Restrict MediaRouter selection
Actually restrict the programmatic selection of routes by type. (Oops.) Change-Id: I91e837f7ecbcddb626c664fb470e8296d563498d
Diffstat (limited to 'media/java')
-rw-r--r--media/java/android/media/MediaRouter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/java/android/media/MediaRouter.java b/media/java/android/media/MediaRouter.java
index 715e752..6f9cc62 100644
--- a/media/java/android/media/MediaRouter.java
+++ b/media/java/android/media/MediaRouter.java
@@ -276,6 +276,7 @@ public class MediaRouter {
Log.w(TAG, "selectRoute ignored; cannot select route with supported types " +
typesToString(route.getSupportedTypes()) + " into route types " +
typesToString(types));
+ return;
}
if (sStatic.mSelectedRoute != null) {