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

Commit 53c5d6b0 authored by yangbingqian's avatar yangbingqian Committed by android-build-merger
Browse files

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

Merge "Merge "remove the lock-use for prunePrintService in case blocking main thread" am: b124bea7 am: 60246acd am: a76f1cbd" into oc-dr1-dev-plus-aosp
am: 3680e34f

Change-Id: I7f3c6995dae7a20e523e50e248035f3eeb040fde
parents 5e89bcc9 3680e34f
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();
        }
    }