Merge "TIF: Do not build input list for background user" into nyc-dev
am: 4a6bd4b
* commit '4a6bd4b48fe309f50a3878d85104be6fbf244d50':
TIF: Do not build input list for background user
Change-Id: Ibd788b4903e306c1b18a093183880001dbf14475
This commit is contained in:
@@ -161,8 +161,10 @@ public final class TvInputManagerService extends SystemService {
|
|||||||
PackageMonitor monitor = new PackageMonitor() {
|
PackageMonitor monitor = new PackageMonitor() {
|
||||||
private void buildTvInputList(String[] packages) {
|
private void buildTvInputList(String[] packages) {
|
||||||
synchronized (mLock) {
|
synchronized (mLock) {
|
||||||
buildTvInputListLocked(getChangingUserId(), packages);
|
if (mCurrentUserId == getChangingUserId()) {
|
||||||
buildTvContentRatingSystemListLocked(getChangingUserId());
|
buildTvInputListLocked(mCurrentUserId, packages);
|
||||||
|
buildTvContentRatingSystemListLocked(mCurrentUserId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user