Update the flow of charging optimization strings.
Bug: 329020954 Test: atest SettingsRoboTests Change-Id: I73738602036d79568fe4739a63534af1c64bd9d1
This commit is contained in:
@@ -76,7 +76,11 @@ public class BatterySettingsFeatureProviderImpl implements BatterySettingsFeatur
|
||||
@Nullable
|
||||
@Override
|
||||
public CharSequence getChargingOptimizationRemainingLabel(
|
||||
@NonNull Context context, long chargeRemainingTimeMs, long currentTimeMs) {
|
||||
@NonNull Context context,
|
||||
int batteryLevel,
|
||||
int pluggedStatus,
|
||||
long chargeRemainingTimeMs,
|
||||
long currentTimeMs) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -84,7 +88,8 @@ public class BatterySettingsFeatureProviderImpl implements BatterySettingsFeatur
|
||||
@Override
|
||||
public CharSequence getChargingOptimizationChargeLabel(
|
||||
@NonNull Context context,
|
||||
@NonNull String batteryPercentageString,
|
||||
int batteryLevel,
|
||||
String batteryPercentageString,
|
||||
long chargeRemainingTimeMs,
|
||||
long currentTimeMs) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user