• Home
Name Date Size #Lines LOC

..--

api/03-May-2024-3728

java/com/android/media/tv/remoteprovider/03-May-2024-509281

tests/03-May-2024-188127

Android.bpD03-May-20241.2 KiB3835

OWNERSD03-May-202434 32

README.txtD03-May-20241.2 KiB2621

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.