Added todo items for a potential metrics issue am: dc5a63bdd1

am: 94f2fe22b4

Change-Id: Id3a4f8985536f312c35718a1c992ecb505dbbebf
This commit is contained in:
Jack Yu
2016-07-30 23:34:10 +00:00
committed by android-build-merger

View File

@@ -109,6 +109,12 @@ public class ConnectivityMetricsLogger {
// Log number of skipped events
Bundle b = new Bundle();
b.putInt(DATA_KEY_EVENTS_COUNT, mNumSkippedEvents);
// Log the skipped event.
// TODO: Note that some of the clients push all states events into the server,
// If we lose some states logged here, we might mess up the statistics happened at the
// backend. One of the options is to introduce a non-skippable flag for important events
// that are logged.
skippedEventsEvent = new ConnectivityMetricsEvent(mServiceUnblockedTimestampMillis,
componentTag, TAG_SKIPPED_EVENTS, b);