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:
cab997b
)
Permit MediaRouteButton to select system routes in toggle mode.
author
Adam Powell
<adamp@google.com>
Tue, 19 Jun 2012 22:58:38 +0000
(15:58 -0700)
committer
Adam Powell
<adamp@google.com>
Tue, 19 Jun 2012 22:58:38 +0000
(15:58 -0700)
Bug
6694917
Change-Id: I82e68aee196c72f349e7638717b727ef3f23e9b5
core/java/android/app/MediaRouteButton.java
patch
|
blob
|
history
diff --git
a/core/java/android/app/MediaRouteButton.java
b/core/java/android/app/MediaRouteButton.java
index
018b25d
..
e28a415
100644
(file)
--- a/
core/java/android/app/MediaRouteButton.java
+++ b/
core/java/android/app/MediaRouteButton.java
@@
-110,7
+110,7
@@
public class MediaRouteButton extends View {
final RouteInfo route = mRouter.getRouteAt(i);
if ((route.getSupportedTypes() & mRouteTypes) != 0 &&
route != mRouter.getSystemAudioRoute()) {
- mRouter.selectRoute(mRouteTypes, route);
+ mRouter.selectRoute
Int
(mRouteTypes, route);
}
}
}