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
Loading
Please register or sign in to comment