429c3b17b88ebd8c4512e9179fd9d48333c0979e |
|
21-Mar-2014 |
Tor Norbye <tnorbye@google.com> |
Add tools metadata annotations to the mediarouter library Change-Id: I69322fb994a840b7142109ca48c29fb51829a2dd
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteSelector.java
|
f03da4a9e6cc02251c2f804eb6f25da61821d6a7 |
|
31-May-2013 |
Jeff Brown <jeffbrown@google.com> |
Add CALLBACK_FLAG_REQUEST_DISCOVERY. This change is designed to reduce the network discovery overhead and memory footprint of the media router. Make the media router more conservative about when it binds to media route providers and performs discovery. It will now only perform discovery if the application has specified CALLBACK_FLAG_REQUEST_DISCOVERY or CALLBACK_FLAG_PERFORM_ACTIVE_SCAN. Furthermore, it will only bind to media route provider services while discovery is requested or while the app has selected a route that belongs to the provider. It will automatically unbind when these conditions no longer hold true to allow the system to reclaim memory used by the MRP service process. Added a MediaRouteDiscoveryFragment to make it a bit easier to manage the lifecycle of media router callbacks. Bug: 9210033 Change-Id: I9e7399022d51eb6db3ac79f843ccfa5aba3a8762
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteSelector.java
|
7599feee523c7b7d33576ae5825e43e3d62cbcbe |
|
16-May-2013 |
Jeff Brown <jeffbrown@google.com> |
Generalize collection types used in builders. Small change to make the API easier to use. Bug: 8175766 Change-Id: I88cb531e801c3e309c4a6e0e70668d6d4560d2bd
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteSelector.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/media/MediaRouteSelector.java
|