Merge "Refactoring of deleting stats in NetworkStats based on uids."

This commit is contained in:
Junyu Lai
2018-12-10 05:15:28 +00:00
committed by Gerrit Code Review
2 changed files with 29 additions and 11 deletions

View File

@@ -352,7 +352,7 @@ public class NetworkStatsRecorder {
// Clear UID from current stats snapshot
if (mLastSnapshot != null) {
mLastSnapshot = mLastSnapshot.withoutUids(uids);
mLastSnapshot.removeUids(uids);
}
final NetworkStatsCollection complete = mComplete != null ? mComplete.get() : null;