Merge "Transition BatteryInfo and BatteryUtils to BatteryUsageStats API" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-03-12 23:52:00 +00:00
committed by Android (Google) Code Review
18 changed files with 296 additions and 180 deletions

View File

@@ -230,7 +230,7 @@ public class AppBatteryPreferenceController extends BasePreferenceController
@Override
@NonNull
public Loader<BatteryUsageStats> onCreateLoader(int id, Bundle args) {
return new BatteryUsageStatsLoader(mContext);
return new BatteryUsageStatsLoader(mContext, /* includeBatteryHistory */ false);
}
@Override