Jeff Brown 39ad0e5598 UI tweaks.
Hide disabled routes from the chooser.

Fix layout of chooser dialog when the settings button is visible and
the list is very long to prevent truncation of the settings button.

Fix an issue when we fake the route connecting status when a route
is selected.  The route changed notification needs to be propagated
to apps.  Fake it better.

Immediately disconnect from a route when the connection is lost or
a connection attempt fails.  Added a few new test displays for this
case.

Bug: 11257292
Change-Id: I360ab5dc937ad60d97592eab54b19f034519645e
2013-11-11 21:48:53 -08:00
..

This directory contains sample code to test system integration with
remote display providers using the API declared by the
com.android.media.remotedisplay.jar library.

--- DESCRIPTION ---

The application registers a service that publishes a few different
remote display routes.  Behavior can be controlled by modifying the
code.

To exercise the provider, use System UI features for connecting to
wireless displays or launch an activity that uses the MediaRouter,
such as the PresentationWithMediaRouterActivity in ApiDemos.

This code is mainly intended for development and not meant to be
used as an example implementation of a robust remote display provider.