• Home
  • History
  • Annotate
  • only in /frameworks/base/media/lib/tvremote/
NameDateSize

..23-Aug-20164 KiB

Android.mk23-Aug-20161.4 KiB

com.android.media.tv.remoteprovider.xml23-Aug-2016831

java/23-Aug-20164 KiB

README.txt23-Aug-20161.2 KiB

README.txt

1This library (com.android.media.tv.remoteprovider.jar) is a shared java library
2containing classes required by unbundled atv remote providers.
3
4--- Rules of this library ---
5o This library is effectively a System API for unbundled emote service provider
6  that may be distributed outside the system image. So it MUST BE API STABLE.
7  You can add but not remove. The rules are the same as for the
8  public platform SDK API.
9o This library can see and instantiate internal platform classes, but it must not
10  expose them in any public method (or by extending them via inheritance). This would
11  break clients of the library because they cannot see the internal platform classes.
12
13This library is distributed in the system image, and loaded as
14a shared library. So you can change the implementation, but not
15the interface. In this way it is like framework.jar.
16
17--- Why does this library exist? ---
18
19Unbundled atv remote providers (such as Emote app) cannot use internal
20platform classes.
21
22This library will eventually be replaced when the inputmanager
23infrastructure is ready with APIs allowing unbundled system apps to
24inject events into uhid.
25That API isn't ready yet so this library is a compromise to
26make new capabilities available to the system.