Fix mobile data usage chart on first day of cycle
Bug: 295260929 Test: manual - on Mobile data usage Change-Id: Ib3345ee8541b9312fd26c7320fcf7193dc986236
This commit is contained in:
@@ -112,9 +112,6 @@ public class ChartDataUsagePreference extends Preference {
|
||||
// increment by current bucket total
|
||||
totalData += data.getUsage();
|
||||
|
||||
if (points.size() == 1) {
|
||||
points.put(toInt(startTime - mStart) - 1, -1);
|
||||
}
|
||||
points.put(toInt(startTime - mStart + 1), (int) (totalData / RESOLUTION));
|
||||
points.put(toInt(endTime - mStart), (int) (totalData / RESOLUTION));
|
||||
}
|
||||
|
Reference in New Issue
Block a user