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

This commit is contained in:
Philip P. Moltmann
2017-06-20 18:28:03 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
// Some print services might have gotten installed before the User State came up
prunePrintServices();
synchronized (mLock) {
onConfigurationChangedLocked();
}
}