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

Commit 7a11a0e8 authored by Dongwon Kang's avatar Dongwon Kang Committed by Android (Google) Code Review
Browse files

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

parents 88fa96c7 31a8f840
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) {