diff options
author | nchalko <nchalko@google.com> | 2018-07-09 10:40:55 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-07-13 10:24:59 -0700 |
commit | 206844dbfd2d6f1088eeebb180f807864373e89d (patch) | |
tree | b822bb5be0fc264490d668618487c6cec24ee7ac | |
parent | 65aca8920c70317c5d9f188f0136a2fcd540a332 (diff) | |
download | TV-206844dbfd2d6f1088eeebb180f807864373e89d.tar.gz |
LiveTv does not include built in tuners
PiperOrigin-RevId: 203790142
Change-Id: I2a73b79f2c82ce6ed5bca02e546ed2df5d1d073d
-rw-r--r-- | tuner/src/com/android/tv/tuner/util/TunerInputInfoUtils.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tuner/src/com/android/tv/tuner/util/TunerInputInfoUtils.java b/tuner/src/com/android/tv/tuner/util/TunerInputInfoUtils.java index fad71335..96697513 100644 --- a/tuner/src/com/android/tv/tuner/util/TunerInputInfoUtils.java +++ b/tuner/src/com/android/tv/tuner/util/TunerInputInfoUtils.java @@ -78,7 +78,9 @@ public class TunerInputInfoUtils { */ public static void updateTunerInputInfo(Context context) { final Context appContext = context.getApplicationContext(); - if (!BuildConfig.NO_JNI_TEST && Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { + if (!BuildConfig.NO_JNI_TEST + && !BuildConfig.AOSP + && Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { new AsyncTask<Void, Void, TvInputInfo>() { @Override protected TvInputInfo doInBackground(Void... params) { |