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

Commit 173c4a49 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "bgdexopt: fix deadlock between dump and dexopt thread"

parents 0ace72cb 31b15473
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -896,10 +896,10 @@ public final class BackgroundDexOptService {
        synchronized (mLock) {
            if (!mFinishedPostBootUpdate) {
                mFinishedPostBootUpdate = true;
                JobScheduler js = mInjector.getJobScheduler();
                js.cancel(JOB_POST_BOOT_UPDATE);
            }
        }
        // Safe to do this outside lock.
        mInjector.getJobScheduler().cancel(JOB_POST_BOOT_UPDATE);
    }

    private void notifyPinService(ArraySet<String> updatedPackages) {