From 9ab3929812ff0117ffaadd26efa9ef623c693713 Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Sun, 21 Jan 2018 23:00:55 +0900 Subject: [PATCH] Remove obsolete NetworkStats.Entry constructor. The only caller is telephony code, and it's being fixed in this topic. Bug: 35142602 Test: builds, boots Change-Id: Ia77a1c2c297037f311c2355610c206cd8e3192c4 --- core/java/android/net/NetworkStats.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/java/android/net/NetworkStats.java b/core/java/android/net/NetworkStats.java index a85f80e38d..01b2b39213 100644 --- a/core/java/android/net/NetworkStats.java +++ b/core/java/android/net/NetworkStats.java @@ -160,13 +160,6 @@ public class NetworkStats implements Parcelable { rxBytes, rxPackets, txBytes, txPackets, operations); } - // TODO: fix the the telephony code to pass DEFAULT_NETWORK_YES and remove this constructor. - public Entry(String iface, int uid, int set, int tag, int metered, int roaming, - long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { - this(iface, uid, set, tag, metered, roaming, DEFAULT_NETWORK_YES, rxBytes, rxPackets, - txBytes, txPackets, operations); - } - public Entry(String iface, int uid, int set, int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) {