final String key = getTimingKey(timingCategory, timingVariableName);
if (timingEvents.containsKey(key)) {
return sendTiming(trackerName, timingCategory, timingVariableName,
(int) (Duration.currentTimeMillis() - timingEvents.remove(key)));
}
return new AnalyticsOptions(new JSONOptionsCallback() {
@Override
public void onCallback(final JSONObject options) {
//Do nothing a timing event was ended before it was started. This is here just to stop a crash.
}