Merge "remove the lock-use for prunePrintService in case blocking main thread"
am: b124bea782
Change-Id: Ie93b79dfff5787cb9835c4ba86e3aa586e0d2ad8
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user