9942d40d0d952b03b583fe66f434676793697aa2 |
|
24-May-2013 |
Jeff Brown <jeffbrown@google.com> |
MediaRouter UI tweaks. Fix an issue where the MediaRouteButton would cause the currently selected route to be deselected when switching activities. The button now no longer has any side-effects. Added code to handle the case where the dialog may be empty by showing a progress bar and placeholder text. Make the route chooser and controller dialogs dark to match the system volume dialog. Fixed the dividers in the route controller dialog. Fixed some incorrect assumptions in the MediaRouteActionProvider related to whether the MediaRouteButton has been attached to the window. Sometimes we would fail to add the necessary route callbacks. This was intended to workaround a framework limitation but it caused other problems. Fixed the padding of the media route button. Cleaned up some documentation. Bug: 9102538 Change-Id: I226e33c3017e8e4a9d877d023a8f158184861343
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
2ef36d857302c5cd738c7c8bdec53d31feebebba |
|
16-May-2013 |
Jeff Brown <jeffbrown@google.com> |
MediaRouter UI tweaks. Fix a couple of styling issues. Fix an NPE when a provider is removed. Bug: 8175766 Change-Id: I109bc93e94d4a05924ae01189911d2418660d0f3
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|
11417b1cfde8f1749905f2d735623af9214148af |
|
27-Apr-2013 |
Jeff Brown <jeffbrown@google.com> |
Add media router picker UI. Introduced the concept of a MediaRouteSelector which is the means by which an application states the route capabilities of routes that it would like to discover. Added selectors to the addCallback method along with several other methods to assist with discovery. Callbacks can specify flags to perform active scans of routes or to disable filtering of route events. Added a workaround to scan for wifi displays on JB MR1. Refactored the route descriptor objects to use the builder pattern instead of simply documenting that they should be immutable since several developers have already tripped over this. The UI is feature complete but not final. Bug: 8175766 Change-Id: I54ebb7488222746b0c07292e65b9ded1b9d720fa
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouterThemeHelper.java
|