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

Commit 5168a7a0 authored by Dongwon Kang's avatar Dongwon Kang
Browse files

TIF: exclude tuner TV input not having a setup activity in the input list.

By doing this, developers can notice the flaw of the input in advance.

Bug: 17647146
Change-Id: I123a5538566959320a6201a4d7952e205602a28a
parent 6c9b0847
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -241,6 +241,9 @@ public final class TvInputInfo implements Parcelable {
            if (DEBUG) {
                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(
                    com.android.internal.R.styleable.TvInputService_settingsActivity);
            if (DEBUG) {