Loading services/core/java/com/android/server/tv/TvInputManagerService.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -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) { Loading Loading
services/core/java/com/android/server/tv/TvInputManagerService.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -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) { Loading