f3b653a21cdffe04c94c275e69ecb56e00766e82 |
|
23-Jun-2012 |
Adam Powell <adamp@google.com> |
Update route count properly when MediaRouteButton detects grouped/ungrouped events Change-Id: I1b00678cc3b548f347c51c3fcbfce18ecc8fbabe
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
3cd4624448dcaddecc75461ef645da72e7e5c098 |
|
22-Jun-2012 |
Adam Powell <adamp@google.com> |
Merge "Avoid memory leak by only registering callback while attached to window." into jb-dev
|
101c44915259fb76d14f917712a51fb0b08a7594 |
|
22-Jun-2012 |
Jack Palevich <jackpal@google.com> |
Avoid memory leak by only registering callback while attached to window. Bug: 6710307 Change-Id: Idf57251e6feb48ec3e75e797144ff800fa874cc8
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
f7e0a328c939fa61792d4b685e8f9047a3a0ad90 |
|
22-Jun-2012 |
Adam Powell <adamp@google.com> |
Allow ungrouping media routes when a group is the only alternate route Fix a MediaRouteButton bug where group item counts weren't taken into account when deciding whether to toggle between two available groups or show the chooser dialog. Change-Id: I6400ffd4cfe80c8072c5be360264b8ca91d71c41
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
849df0b5a7a5ef72610d687a8b1c2f0a23f873ab |
|
20-Jun-2012 |
Adam Powell <adamp@google.com> |
Add an XML attribute for controlling which route types a MediaRouteButton in a layout will alter. Change-Id: I897a68188fa87e4c2dbc88794117a3ef87ffaab0
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
eba1b70d7a66fa8299307895ec6d6d6495b387f0 |
|
20-Jun-2012 |
Adam Powell <adamp@google.com> |
Permit MediaRouteButton to select system routes in toggle mode. Bug 6694917 Change-Id: I82e68aee196c72f349e7638717b727ef3f23e9b5
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
0d03c042f90bf62d5bad7c64e77028a5f9f8fae0 |
|
15-Jun-2012 |
Adam Powell <adamp@google.com> |
API updates for MediaRouter * Accept a Context when fetching the names of routes and categories. This lets string resources resolve at time of access with the correct configuration. The older versions remain available that will use the static resources from the application. (There are enough cases where applications will populate this from external data that requiring it each time even when it was not initialized from a resource doesn't seem reasonable.) * Remove the ability for apps to programmatically select non-user routes. * Make MediaRouter.Callback an abstract class instead of an interface. This will make further extensions easier to keep compatible in the future. Change-Id: If981c511dfbdfaf41ef0d1cfe4a377fc14bb5600
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
70e11e50eecfc8f1dfb76316d099e4331ebd28f7 |
|
13-Jun-2012 |
Adam Powell <adamp@google.com> |
MediaRouter dialog Add the dialog behavior for MediaRouteActionProvider/MediaRouteButton. Still TODO: * Switch audio icon based on source; speaker/bt/user * Rig up volume slider * Rig up item icons * Rig up group button for groupable categories * Make grouping work Change-Id: I3f992516b184d5ae940ddb7bbb7f94ff58914589
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
b35c445f34e1a18e17aef3e3dfbc1c39b4d1815c |
|
12-Jun-2012 |
Adam Powell <adamp@google.com> |
MediaRouter work Fix a bug where MediaRouter would crash on creation Add click listener for app-supplied extended settings on the route selection dialog. Change-Id: I2991db1720b5c574148e250526984592f4dc3c44
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
b58b8f832d06b0ffa8886eba5a4916578a3b8743 |
|
12-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
Rework media router to be per-context with global process state. Change-Id: Ic1cb6f13e691d22783bcdafae85b7c75aec0a66f
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
d0d2cda9d414da73773285d7fee9e13aef3495e9 |
|
08-Jun-2012 |
Adam Powell <adamp@google.com> |
Further work on MediaRouter Remove volume control and tracking. This will be handled by extensions to existing audio and media APIs for now. Tweak/refine other aspects of the API. Pass the router to callbacks for easier future-proofing. Add group/ungroup callback methods. Change-Id: Ib69e76e5f46280a9002b545bcf4cbc7b839844ee
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
690ffb4e1f735148a15f2036d9a3c1962fba188c |
|
05-Jun-2012 |
Adam Powell <adamp@google.com> |
More fun with MediaRouter Add action provider, button, and styles. Extend ActionProvider to allow for getting references to MenuItem instances. Implement toggle mode for the MediaRouteButton/ActionProvider. Dialog selection yet to come. Change-Id: Ibe3188570f503bbf8dd00cf154663435656a7171
/frameworks/base/core/java/android/app/MediaRouteButton.java
|