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

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

Merge "Recalculate network estimate after work is completed."

parents 26dd863b 49533406
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -762,7 +762,6 @@ public final class JobStatus {
                executingWork.add(work);
                work.bumpDeliveryCount();
            }
            updateNetworkBytesLocked();
            return work;
        }
        return null;
@@ -790,6 +789,7 @@ public final class JobStatus {
                if (work.getWorkId() == workId) {
                    executingWork.remove(i);
                    ungrantWorkItem(work);
                    updateNetworkBytesLocked();
                    return true;
                }
            }