Files
frameworks_base/tests/RemoteDisplayProvider
Jiyong Park bc697b6abf Fix link-type check warning on com.android.media.remotedisplay
The library has been built without SDK, and is used by an app
RemoteDisplayProviderTest that is built with SDK. Such this SDK ->
non-SDK dependency has been causing link-type check warnings, which will
turn into errors soon.

This change fixes the warning by making a stub library
com.android.media.remotedisplay.stubs from the runtime library and let the app
to link against the stub library. Since the stubs library does not use any
private APIs, it is built with SDK.

Bug: 69899800
Test: m -j RemoteDisplayProviderTest is successful and does not show any
link-type check warning.

Change-Id: I7ee297a9d1aa4f01136b9a026a4939df2d483b8c
2018-02-28 09:45:40 +09: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.