Add <uses-library> information.

The SDK library "com.android.libraries.tv.tvsystem" needs to be
explicitly specified in `optional_uses_libs` because it is not in the
app dependencies (so cannot be added to the maifest_fixer automatically
by Soong), and also it is optional (so even if it was added by Soong,
the optional flag would be missing).

Bug: 132357300
Test: lunch cf_x86_phone-userdebug && m
Test: m out/soong/.intermediates/packages/apps/TV/tuner/sampletunertvinput/sampletunertvinput/android_common/manifest_check/AndroidManifest.xm
Change-Id: I9fc449ba5a1f953e8b5c493e2ee41e0f2af8bdd7
1 file changed
tree: 02be340f3149a264ff4bb61ddaebebe6a3124812
  1. .gitignore
  2. Android.bp
  3. AndroidManifest.xml
  4. OWNERS
  5. README.md
  6. assets/
  7. build.gradle
  8. com.android.tv.xml
  9. common/
  10. gradle.properties
  11. jni/
  12. libs/
  13. material_res/
  14. partner_support/
  15. proguard.flags
  16. ratings/
  17. res/
  18. settings.gradle
  19. src/
  20. tests/
  21. tuner/
  22. version.mk
README.md

Live TV

Live TV is the Open Source reference application for watching TV on Android TVs.

Live TV is a system app for Android TV. It should be compiled with Android TV platform.

How to build:

  1. Enable the feature PackageManager.FEATURE_LIVE_TV.
  2. Put this project under Android platform repository if required.
  3. Include this package inside platform build.
  4. Build the platform. https://source.android.com/source/building.html

NOTE: This is a reference application and should not be used with further hardening.

Build just Live Tv

To install LiveTv

echo "Compiling"
m -j LiveTv
echo  "Installing"
adb install -r ${OUT}/system/priv-app/LiveTv/LiveTv.apk

If it is your first time installing LiveTv you will need to do

adb root
adb remount
adb push ${OUT}/system/priv-app/LiveTv/LiveTv.apk /system/priv-app/LiveTv/LiveTv.apk
adb reboot