Use single queryDetailsForDevice if possible
To improve performance. Since queryDetailsForDevice() also aggregated the uids into one, the apps list in DataUsageList still needs another separated api call. Fix: 315449973 Test: manual - on DataUsageList page Test: unit tests Change-Id: I96c23dd7d0d40ecd183e0fb0f61329db42dae1ab
This commit is contained in:
@@ -26,11 +26,6 @@ data class NetworkCycleChartData(
|
||||
val dailyUsage: List<NetworkUsageData>,
|
||||
) {
|
||||
companion object {
|
||||
val AllZero = NetworkCycleChartData(
|
||||
total = NetworkUsageData.AllZero,
|
||||
dailyUsage = emptyList(),
|
||||
)
|
||||
|
||||
val BUCKET_DURATION = 1.days
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user