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

Commit c4f915cc authored by Kweku Adams's avatar Kweku Adams Committed by Android (Google) Code Review
Browse files

Merge "Skip persisting when there's no change."

parents 769d2293 12767a40
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -648,7 +648,7 @@ public final class JobServiceContext implements ServiceConnection {
                            "last work dequeued");
                    // This will finish the job.
                    doCallbackLocked(false, "last work dequeued");
                } else {
                } else if (work != null) {
                    // Delivery count has been updated, so persist JobWorkItem change.
                    mService.mJobs.touchJob(mRunningJob);
                }