Merge "Allow null setup activity for TV input" into oc-dev
am: 90074d1ec8
Change-Id: I18545582572c60956548af8c732b7e6543f00d76
This commit is contained in:
@@ -949,9 +949,6 @@ public final class TvInputInfo implements Parcelable {
|
||||
com.android.internal.R.styleable.TvInputService);
|
||||
mSetupActivity = sa.getString(
|
||||
com.android.internal.R.styleable.TvInputService_setupActivity);
|
||||
if (inputType == TYPE_TUNER && TextUtils.isEmpty(mSetupActivity)) {
|
||||
throw new IllegalStateException("Setup activity not found for " + si.name);
|
||||
}
|
||||
if (mCanRecord == null) {
|
||||
mCanRecord = sa.getBoolean(
|
||||
com.android.internal.R.styleable.TvInputService_canRecord, false);
|
||||
|
||||
Reference in New Issue
Block a user