Merge "TIF: Do not build input list for background user" into nyc-dev

This commit is contained in:
Dongwon Kang
2016-04-20 19:19:33 +00:00
committed by Android (Google) Code Review

View File

@@ -161,8 +161,10 @@ public final class TvInputManagerService extends SystemService {
PackageMonitor monitor = new PackageMonitor() {
private void buildTvInputList(String[] packages) {
synchronized (mLock) {
buildTvInputListLocked(getChangingUserId(), packages);
buildTvContentRatingSystemListLocked(getChangingUserId());
if (mCurrentUserId == getChangingUserId()) {
buildTvInputListLocked(mCurrentUserId, packages);
buildTvContentRatingSystemListLocked(mCurrentUserId);
}
}
}