diff --git a/services/core/java/com/android/server/net/NetworkStatsService.java b/services/core/java/com/android/server/net/NetworkStatsService.java index bfc150e1a9..82981275fc 100644 --- a/services/core/java/com/android/server/net/NetworkStatsService.java +++ b/services/core/java/com/android/server/net/NetworkStatsService.java @@ -153,8 +153,7 @@ public class NetworkStatsService extends INetworkStatsService.Stub { static final boolean LOGV = false; private static final int MSG_PERFORM_POLL = 1; - private static final int MSG_UPDATE_IFACES = 2; - private static final int MSG_REGISTER_GLOBAL_ALERT = 3; + private static final int MSG_REGISTER_GLOBAL_ALERT = 2; /** Flags to control detail level of poll event. */ private static final int FLAG_PERSIST_NETWORK = 0x1; @@ -1533,10 +1532,6 @@ public class NetworkStatsService extends INetworkStatsService.Stub { mService.performPoll(flags); return true; } - case MSG_UPDATE_IFACES: { - mService.updateIfaces(null); - return true; - } case MSG_REGISTER_GLOBAL_ALERT: { mService.registerGlobalAlert(); return true;