Splice operations before collapsing ifaces.
Bug: 6241038 Change-Id: Ide9058703f7305df8fb070af149ddce0653a0abf
This commit is contained in:
@@ -500,6 +500,9 @@ public class NetworkStatsService extends INetworkStatsService.Stub {
|
||||
Binder.restoreCallingIdentity(token);
|
||||
}
|
||||
|
||||
// splice in operation counts
|
||||
networkLayer.spliceOperationsFrom(mUidOperations);
|
||||
|
||||
final NetworkStats dataLayer = new NetworkStats(
|
||||
networkLayer.getElapsedRealtime(), networkLayer.size());
|
||||
|
||||
@@ -510,8 +513,6 @@ public class NetworkStatsService extends INetworkStatsService.Stub {
|
||||
dataLayer.combineValues(entry);
|
||||
}
|
||||
|
||||
// splice in operation counts
|
||||
dataLayer.spliceOperationsFrom(mUidOperations);
|
||||
return dataLayer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user