Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75ffc5f3 authored by Chulwoo Lee's avatar Chulwoo Lee
Browse files

Allow null setup activity for TV input

Test: cts-tradefed run cts -m CtsTvTestCases -t android.media.tv.cts.TvInputInfoTest
Bug: 37863603
Change-Id: I62f9927f94534c0564a3c52f8c7b266a347399e1
parent da3dd7c0
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);