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

Commit 84f3c568 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am ffbbe945: am d293d229: Merge "Create missing Uids when recording network stats." into jb-mr2-dev

* commit 'ffbbe945':
  Create missing Uids when recording network stats.
parents 83ad439c ffbbe945
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1579,9 +1579,7 @@ public final class BatteryStatsImpl extends BatteryStats {
        for (int i = 0; i < size; i++) {
            entry = uidStats.getValues(i, entry);

            final Uid u = mUidStats.get(entry.uid);
            if (u == null) continue;

            final Uid u = getUidStatsLocked(entry.uid);
            u.mStartedTcpBytesReceived = entry.rxBytes;
            u.mStartedTcpBytesSent = entry.txBytes;
            u.mTcpBytesReceivedAtLastUnplug = u.mCurrentTcpBytesReceived;