Skip to content
Commit 6fd9187a authored by Doris Ling's avatar Doris Ling
Browse files

Change to get network history from NetworkStatsManager.

- in DataUsageController, change to use
NetworkStatsManager.querySummaryForDevice() to get network history.
- also change to use querySummaryForDevice() instead of querySummary()
in chart loader, since it returns the aggregated bucket, so we do not
need to do the extra work for summing up the usage data.
- move the mapping of network template to network type to
DataUsageController and add the mapping for wifi wildcard.

Bug: 111751694
Test: make RunSettingsLibRoboTests
Change-Id: I6523869563cd53f791fc955468e1842b4f6adba4
parent 08a42ed8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment