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

Commit 09c09fd3 authored by Adam Lesinski's avatar Adam Lesinski Committed by Android (Google) Code Review
Browse files

Merge "BatteryStats: Fix issue where network traffic accounting might be lost" into nyc-dev

parents db0fd9df 6cca414d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8192,7 +8192,8 @@ public class BatteryStatsImpl extends BatteryStats {
                            + " txPackets=" + entry.txPackets);
                }

                if (entry.rxBytes == 0 || entry.txBytes == 0) {
                if (entry.rxBytes == 0 && entry.txBytes == 0) {
                    // Skip the lookup below since there is no work to do.
                    continue;
                }