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/CleanSpec.mk
|
30837f1095c803f332f4a1c3f0917c8afdd50156 |
|
24-Apr-2013 |
Adam Powell <adamp@google.com> |
API changes for support action bar menus Refactor support action bar to use standard framework menu interfaces instead of additional interfaces. This simplifies the API and results in fewer disjoint callbacks which could make life difficult for library authors. SupportMenu/SupportMenuItem are now private implementation details of the support lib rather than interfaces used directly by app developers. Developers must use standard support shim *Compat classes to access new methods, and these shims are now aware of SupportMenu/SupportMenuItem and will do the right thing. Fix up a few other general issues and bugs. Change-Id: I833dce76485741b680bef84c1c0ed8d81ea57616
/frameworks/support/CleanSpec.mk
|
c21f57ed68b81a77167f1df000b0e272e1598bc0 |
|
08-Mar-2013 |
Jeff Brown <jeffbrown@google.com> |
Add media router and display manager to support library. The support library MediaRouter API is somewhat different from the framework's existing MediaRouter API. It is designed to be simpler and easier to extend. In the new MediaRouter, routes are published by MediaRouteProviders. MediaRouteProviders replace the concept of UserRoutes. The built-in SystemMediaRouteProvider publishes the default system routes and interoperates with the framework MediaRouter. Each route now declares its capabilities and behaviors by way of MediaControlIntents. The type of the route (live audio, live video, or remote playback) is specified by the categories of media control intents that the route supports. A route may support any number of custom provider-defined media control intent categories that provide access to specialized features. The old concepts of route categories and route groups have been removed. Route providers are now responsible for implementing the route grouping and configuration through some UI of their own that is not managed by the media router. This patch does not include support for route icon drawables, the new route picker UI or route provider services. These features will be added in follow on patches. Change-Id: I10cf078917d053a916254a5aa9d208b8cfd341ea
/frameworks/support/CleanSpec.mk
|