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

Commit 6bcb65d6 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

* commit '2a5f69b8':
  TIF: Do not build input list for background user

Change-Id: Iaafbadb6d088ed072241c78b82c4aeb84bc8562d
parents c3777caa 2a5f69b8
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -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);
                    }
                }
                }
            }
            }