Loading services/core/java/com/android/server/PackageWatchdog.java +21 −18 Original line number Diff line number Diff line Loading @@ -315,6 +315,7 @@ public class PackageWatchdog { // 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 is the same. mLongTaskHandler.post(() -> { syncState("observing new packages"); synchronized (mLock) { Loading @@ -337,6 +338,8 @@ public class PackageWatchdog { // 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. syncState("updated observers"); }); } /** Loading Loading
services/core/java/com/android/server/PackageWatchdog.java +21 −18 Original line number Diff line number Diff line Loading @@ -315,6 +315,7 @@ public class PackageWatchdog { // 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 is the same. mLongTaskHandler.post(() -> { syncState("observing new packages"); synchronized (mLock) { Loading @@ -337,6 +338,8 @@ public class PackageWatchdog { // 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. syncState("updated observers"); }); } /** Loading