Merge "mk2bp conversion of TV" into main am: 0230f43caf am: 9c16f02018

Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/2826213

Change-Id: Ifc0f47d7e55223a4e99405ce386c36611ec9d0f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 0e01825bbbbaf4ffe491fb0de5bf2fa94994377f
  1. assets/
  2. common/
  3. interactive/
  4. jni/
  5. libs/
  6. material_res/
  7. partner_support/
  8. ratings/
  9. res/
  10. src/
  11. tests/
  12. tuner/
  13. .gitignore
  14. Android.bp
  15. AndroidManifest.xml
  16. build.gradle
  17. com.android.tv.xml
  18. gradle.properties
  19. lint-baseline.xml
  20. OWNERS
  21. proguard.flags
  22. README.md
  23. settings.gradle
  24. 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