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

Commit bf7385e8 authored by Dongwon Kang's avatar Dongwon Kang Committed by android-build-merger
Browse files

Merge "TIF: Do not build input list for background user" into nyc-dev am: 4a6bd4b4 am: 2a5f69b8

am: 6bcb65d6

* commit '6bcb65d6':
  TIF: Do not build input list for background user

Change-Id: Ie2281b4a235643a26ae3653951920f4572933a77
parents f89c0a88 6bcb65d6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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);
                    }
                }
            }