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
75 files changed