Merge "Minor cleanups to NetworkStats interface tracking." am: 6455e31b76

am: 65777e4b61

Change-Id: Ifa76adb79440b1d97c6cfc637509c0ddaefa76fa
This commit is contained in:
Lorenzo Colitti
2018-03-06 07:47:11 +00:00
committed by android-build-merger

View File

@@ -156,8 +156,7 @@ public class NetworkStatsService extends INetworkStatsService.Stub {
static final boolean LOGV = Log.isLoggable(TAG, Log.VERBOSE); static final boolean LOGV = Log.isLoggable(TAG, Log.VERBOSE);
private static final int MSG_PERFORM_POLL = 1; private static final int MSG_PERFORM_POLL = 1;
private static final int MSG_UPDATE_IFACES = 2; private static final int MSG_REGISTER_GLOBAL_ALERT = 2;
private static final int MSG_REGISTER_GLOBAL_ALERT = 3;
/** Flags to control detail level of poll event. */ /** Flags to control detail level of poll event. */
private static final int FLAG_PERSIST_NETWORK = 0x1; private static final int FLAG_PERSIST_NETWORK = 0x1;
@@ -1569,10 +1568,6 @@ public class NetworkStatsService extends INetworkStatsService.Stub {
mService.performPoll(flags); mService.performPoll(flags);
return true; return true;
} }
case MSG_UPDATE_IFACES: {
mService.updateIfaces(null);
return true;
}
case MSG_REGISTER_GLOBAL_ALERT: { case MSG_REGISTER_GLOBAL_ALERT: {
mService.registerGlobalAlert(); mService.registerGlobalAlert();
return true; return true;