diff --git a/core/java/android/app/usage/NetworkStats.java b/core/java/android/app/usage/NetworkStats.java index d2636467ca..5622207941 100644 --- a/core/java/android/app/usage/NetworkStats.java +++ b/core/java/android/app/usage/NetworkStats.java @@ -150,21 +150,6 @@ public final class NetworkStats implements AutoCloseable { */ public static final int UID_TETHERING = TrafficStats.UID_TETHERING; - /** - * Combined usage across all metering states. - */ - public static final int METERING_ALL = -1; - - /** - * Usage not accounted for in any other metering state. - */ - public static final int METERING_DEFAULT = 0x1; - - /** - * Metered usage. - */ - public static final int METERING_METERED = 0x2; - /** * Combined usage across all roaming states. */ @@ -182,7 +167,6 @@ public final class NetworkStats implements AutoCloseable { private int mUid; private int mState; - private int mMetering; private int mRoaming; private long mBeginTimeStamp; private long mEndTimeStamp; @@ -246,18 +230,6 @@ public final class NetworkStats implements AutoCloseable { return mState; } - /** - * Metering state. One of the following values:

- *

- */ - public int getMetering() { - return mMetering; - } - /** * Roaming state. One of the following values:

*