Update the usage slot info in database
- For personal/work profile, always send data to db - For private profile, skip load data in period job Bug: 331720433 Bug: 324191159 Test: manual Change-Id: I77526dfdc837a6edaa9184bf3c751a7455b839a8
This commit is contained in:
@@ -559,7 +559,7 @@ public class BatteryChartPreferenceController extends AbstractPreferenceControll
|
||||
final Map<Integer, Map<Integer, BatteryDiffData>> batteryUsageData =
|
||||
DataProcessor.getBatteryUsageData(
|
||||
context,
|
||||
new UserIdsSeries(context, /* mainUserOnly= */ false),
|
||||
new UserIdsSeries(context, /* isNonUIRequest= */ false),
|
||||
batteryHistoryMap);
|
||||
if (batteryUsageData == null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user