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

Commit a76f1cbd authored by yangbingqian's avatar yangbingqian Committed by android-build-merger
Browse files

Merge "remove the lock-use for prunePrintService in case blocking main thread" am: b124bea7

am: 60246acd

Change-Id: If773ac8166bee1e92168f4df7a9de2dd7cea190f
parents 8532bc3b 60246acd
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -159,10 +159,12 @@ final class UserState implements PrintSpoolerCallbacks, PrintServiceCallbacks,
            readInstalledPrintServicesLocked();
            upgradePersistentStateIfNeeded();
            readDisabledPrintServicesLocked();
        }

        // Some print services might have gotten installed before the User State came up
        prunePrintServices();

        synchronized (mLock) {
            onConfigurationChangedLocked();
        }
    }