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

Commit 31a8f840 authored by Dongwon Kang's avatar Dongwon Kang
Browse files

TIF: Update the input list even when a single component in a package is updated.

Bug: 20127116
Change-Id: I1aefaaba9076877cefc5cfdf36d3c6169c437b6d
parent ff1f29e1
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -203,6 +203,14 @@ public final class TvInputManagerService extends SystemService {
                buildTvInputList(null);
                buildTvInputList(null);
            }
            }


            @Override
            public boolean onPackageChanged(String packageName, int uid, String[] components) {
                // The input list needs to be updated in any cases, regardless of whether
                // it happened to the whole package or a specific component. Returning true so that
                // the update can be handled in {@link #onSomePackagesChanged}.
                return true;
            }

            @Override
            @Override
            public void onPackageRemoved(String packageName, int uid) {
            public void onPackageRemoved(String packageName, int uid) {
                synchronized (mLock) {
                synchronized (mLock) {