Snap for 6449986 from 4b42462c25f53a0b2738d4266d704b42d1f211a1 to rvc-release
Change-Id: Iab2ba4cf22c235596383b7cf8b505af0104603ec
This commit is contained in:
@@ -385,11 +385,10 @@ public class NetworkStatsFactory {
|
|||||||
// Migrate data usage over a VPN to the TUN network.
|
// Migrate data usage over a VPN to the TUN network.
|
||||||
for (VpnInfo info : vpnArray) {
|
for (VpnInfo info : vpnArray) {
|
||||||
delta.migrateTun(info.ownerUid, info.vpnIface, info.underlyingIfaces);
|
delta.migrateTun(info.ownerUid, info.vpnIface, info.underlyingIfaces);
|
||||||
|
// Filter out debug entries as that may lead to over counting.
|
||||||
|
delta.filterDebugEntries();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Filter out debug entries as that may lead to over counting.
|
|
||||||
delta.filterDebugEntries();
|
|
||||||
|
|
||||||
// Update mTunAnd464xlatAdjustedStats with migrated delta.
|
// Update mTunAnd464xlatAdjustedStats with migrated delta.
|
||||||
mTunAnd464xlatAdjustedStats.combineAllValues(delta);
|
mTunAnd464xlatAdjustedStats.combineAllValues(delta);
|
||||||
mTunAnd464xlatAdjustedStats.setElapsedRealtime(uidDetailStats.getElapsedRealtime());
|
mTunAnd464xlatAdjustedStats.setElapsedRealtime(uidDetailStats.getElapsedRealtime());
|
||||||
|
|||||||
Reference in New Issue
Block a user