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