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

Commit 717f3df7 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

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

am: c06746ce

Change-Id: I5f40cab1b16e274aa6450478ded8c6e6b9a896e3
parents 7cced4b9 c06746ce
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();
        }
    }