Loading services/core/java/com/android/server/tv/TvInputManagerService.java +4 −3 Original line number Diff line number Diff line Loading @@ -209,10 +209,11 @@ public final class TvInputManagerService extends SystemService { private void registerBroadcastReceivers() { PackageMonitor monitor = new PackageMonitor() { private void buildTvInputList(String[] packages) { int userId = getChangingUserId(); synchronized (mLock) { if (mCurrentUserId == getChangingUserId()) { buildTvInputListLocked(mCurrentUserId, packages); buildTvContentRatingSystemListLocked(mCurrentUserId); if (mCurrentUserId == userId || mRunningProfiles.contains(userId)) { buildTvInputListLocked(userId, packages); buildTvContentRatingSystemListLocked(userId); } } } Loading Loading
services/core/java/com/android/server/tv/TvInputManagerService.java +4 −3 Original line number Diff line number Diff line Loading @@ -209,10 +209,11 @@ public final class TvInputManagerService extends SystemService { private void registerBroadcastReceivers() { PackageMonitor monitor = new PackageMonitor() { private void buildTvInputList(String[] packages) { int userId = getChangingUserId(); synchronized (mLock) { if (mCurrentUserId == getChangingUserId()) { buildTvInputListLocked(mCurrentUserId, packages); buildTvContentRatingSystemListLocked(mCurrentUserId); if (mCurrentUserId == userId || mRunningProfiles.contains(userId)) { buildTvInputListLocked(userId, packages); buildTvContentRatingSystemListLocked(userId); } } } Loading