OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1ece1
)
Restrict MediaRouter selection
author
Adam Powell
<adamp@google.com>
Mon, 18 Jun 2012 18:51:34 +0000
(11:51 -0700)
committer
Adam Powell
<adamp@google.com>
Mon, 18 Jun 2012 18:52:17 +0000
(11:52 -0700)
Actually restrict the programmatic selection of routes by
type. (Oops.)
Change-Id: I91e837f7ecbcddb626c664fb470e8296d563498d
media/java/android/media/MediaRouter.java
patch
|
blob
|
history
diff --git
a/media/java/android/media/MediaRouter.java
b/media/java/android/media/MediaRouter.java
index
715e752
..
6f9cc62
100644
(file)
--- 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) {