[LiveTv] Fix Intent redirection issue in SetupPassthroughActivity

Fix: 332883816
Test: mmm
Flag: EXEMPT BUGFIX
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:419fb3da8c29f17bb2d8681d48853fe481baf0ba
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:949f733401724eef85d181a3605201da5d03bd6a
Merged-In: I2a4cfa24b6c773cfa303e23de75b209bd6e7d83e
Change-Id: I2a4cfa24b6c773cfa303e23de75b209bd6e7d83e
1 file changed
tree: 33e76e12cda7109f125dcbf1cf3b0a26e82822e9
  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_all_inputs.xml
  16. AndroidManifest_common.xml
  17. AndroidManifest_non_passthrough.xml
  18. build.gradle
  19. com.android.tv.xml
  20. gradle.properties
  21. lint-baseline.xml
  22. OWNERS
  23. proguard.flags
  24. README.md
  25. settings.gradle
  26. 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