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

Commit def0e622 authored by Gavin Corkery's avatar Gavin Corkery Committed by Automerger Merge Worker
Browse files

Merge "Call startObservingHealth on handler thread" into rvc-dev am:...

Merge "Call startObservingHealth on handler thread" into rvc-dev am: 50361212 am: 055dc420 am: 964659a0

Change-Id: I78ef0f2a0d91727e77e3a7566964a3aa167498b8
parents b51a917c 964659a0
Loading
Loading
Loading
Loading
+21 −18
Original line number Original line Diff line number Diff line
@@ -315,6 +315,7 @@ public class PackageWatchdog {
        // causing any elapsed time to be deducted from all existing packages before we add new
        // causing any elapsed time to be deducted from all existing packages before we add new
        // packages. This maintains the invariant that the elapsed time for ALL (new and existing)
        // packages. This maintains the invariant that the elapsed time for ALL (new and existing)
        // packages is the same.
        // packages is the same.
        mLongTaskHandler.post(() -> {
            syncState("observing new packages");
            syncState("observing new packages");


            synchronized (mLock) {
            synchronized (mLock) {
@@ -337,6 +338,8 @@ public class PackageWatchdog {
            // Sync after we add the new packages to the observers. We may have received packges
            // Sync after we add the new packages to the observers. We may have received packges
            // requiring an earlier schedule than we are currently scheduled for.
            // requiring an earlier schedule than we are currently scheduled for.
            syncState("updated observers");
            syncState("updated observers");
        });

    }
    }


    /**
    /**