Support Private Space in battery usage.
- Use database cache for single-user single-profile - Reload battery usage info in other cases Bug: 299032923 Test: manual Change-Id: I5e524a094422639eedbf6e07eda498f3f72fccae
This commit is contained in:
@@ -492,6 +492,7 @@ public class PowerUsageAdvanced extends PowerUsageBase {
|
||||
return DataProcessManager.getBatteryLevelData(
|
||||
getContext(),
|
||||
mHandler,
|
||||
new UserIdsSeries(getContext(), /* mainUserOnly= */ false),
|
||||
/* isFromPeriodJob= */ false,
|
||||
PowerUsageAdvanced.this::onBatteryDiffDataMapUpdate);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user