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

Commit f70a5ebf 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"...

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

Change-Id: I952759d6fcf072f36b7cf0a896eeb03702b6014d
parents f13b8a78 a76f1cbd
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();
        }
    }