Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e507e61 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

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
parent 7e3b1832
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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) {