Data usage app labels and system clustering.

Cluster all non-applications under single "Android OS" label, and
correctly label uninstalled applications.  Match API changes that now
return correct historical usage around current time.

Bug: 4975314, 4691901
Change-Id: Icec1c54ff3404e1525878516b0a438f757dcb758
This commit is contained in:
Jeff Sharkey
2011-07-12 20:20:46 -07:00
parent ebae659fc7
commit 518bc9df8b
3 changed files with 66 additions and 54 deletions

View File

@@ -206,14 +206,12 @@ public class DataUsageChartView extends ChartView {
}
}
/**
* Return current inspection range (start and end time) based on internal
* {@link ChartSweepView} positions.
*/
public long[] getInspectRange() {
final long start = mSweepLeft.getValue();
final long end = mSweepRight.getValue();
return new long[] { start, end };
public long getInspectStart() {
return mSweepLeft.getValue();
}
public long getInspectEnd() {
return mSweepRight.getValue();
}
public long getWarningBytes() {