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

This commit is contained in:
Treehugger Robot
2017-06-13 20:30:37 +00:00
committed by Gerrit Code Review

View File

@@ -154,10 +154,12 @@ final class UserState implements PrintSpoolerCallbacks, PrintServiceCallbacks,
readInstalledPrintServicesLocked();
upgradePersistentStateIfNeeded();
readDisabledPrintServicesLocked();
}
// Some print services might have gotten installed before the User State came up
prunePrintServices();
// Some print services might have gotten installed before the User State came up
prunePrintServices();
synchronized (mLock) {
onConfigurationChangedLocked();
}
}