summaryrefslogtreecommitdiffstats
path: root/core/java/android/net/TrafficStats.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/net/TrafficStats.java')
-rw-r--r--core/java/android/net/TrafficStats.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/net/TrafficStats.java b/core/java/android/net/TrafficStats.java
index c0ff734..8ab64fa 100644
--- a/core/java/android/net/TrafficStats.java
+++ b/core/java/android/net/TrafficStats.java
@@ -141,7 +141,8 @@ public class TrafficStats {
// subtract starting values and return delta
final NetworkStats profilingStop = getNetworkStatsForUid(context);
- final NetworkStats profilingDelta = profilingStop.subtract(sActiveProfilingStart);
+ final NetworkStats profilingDelta = profilingStop.subtract(
+ sActiveProfilingStart, false);
sActiveProfilingStart = null;
return profilingDelta;
}