diff options
author | Adam Powell <adamp@google.com> | 2012-06-18 11:51:34 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2012-06-18 11:52:17 -0700 |
commit | 4ee1f55ce0f4909a7430ab44563a81852f335071 (patch) | |
tree | e8434de6db613b12124ff3b62b97064eecf72e6a /media/java | |
parent | 1c1ece1bd2ecfa6eacd1a1de8f529e81415f165d (diff) | |
download | frameworks_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.java | 1 |
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) { |