Merge "TIF: exclude tuner TV input not having a setup activity in the input list." into lmp-mr1-dev automerge: f9f7acf
automerge: 08fe9fb
* commit '08fe9fbf56e8954ee4817c7ae69b1e6b059a864f':
TIF: exclude tuner TV input not having a setup activity in the input list.
This commit is contained in:
@@ -241,6 +241,9 @@ public final class TvInputInfo implements Parcelable {
|
|||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
Log.d(TAG, "Setup activity loaded. [" + input.mSetupActivity + "] for " + si.name);
|
Log.d(TAG, "Setup activity loaded. [" + input.mSetupActivity + "] for " + si.name);
|
||||||
}
|
}
|
||||||
|
if (inputType == TYPE_TUNER && TextUtils.isEmpty(input.mSetupActivity)) {
|
||||||
|
throw new XmlPullParserException("Setup activity not found in " + si.name);
|
||||||
|
}
|
||||||
input.mSettingsActivity = sa.getString(
|
input.mSettingsActivity = sa.getString(
|
||||||
com.android.internal.R.styleable.TvInputService_settingsActivity);
|
com.android.internal.R.styleable.TvInputService_settingsActivity);
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
|
|||||||
Reference in New Issue
Block a user