diffBytes = data.length;
} else {
diffBytes = finalBytes - startBytes;
}
ConnectionClassManager.getInstance().updateBandwidth(diffBytes, timeTaken);
<BUG>sendAnalytics(request.getAnalyticsListener(), timeTaken, -1, data.length, false);
</BUG>
} else if (request.getAnalyticsListener() != null) {
<BUG>sendAnalytics(request.getAnalyticsListener(), timeTaken, -1, 0, true);
</BUG>
}

diffBytes = data.length;
} else {
diffBytes = finalBytes - startBytes;
}
ConnectionClassManager.getInstance().updateBandwidth(diffBytes, timeTaken);
Utils.sendAnalytics(request.getAnalyticsListener(), timeTaken, -1, data.length, false);
} else if (request.getAnalyticsListener() != null) {
Utils.sendAnalytics(request.getAnalyticsListener(), timeTaken, -1, 0, true);
}
