Check DvrScheduleManager null status

When there is a get operation for DvrManager in TvApplication, check
that the DvrScheduleManager is already assigned and not null before
attempting the constructor call to DvrManager. The DvrManager
constructor requires the DvrScheduleManager object to be not null.

Bug: 298929825
Test: Build
Change-Id: I04e63b2ca6e7e701ece7fa391516f203e79ba36b
1 file changed
tree: 82a5884842f2930dc89d52c8360f820510fab5d4
  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