Customize the remaining time label during wireless charging.
Bug: 336204618 Test: robotests Change-Id: Ic7025f219ee09fba0922ac183daa891e7b63b673
This commit is contained in:
@@ -48,4 +48,9 @@ public interface BatterySettingsFeatureProvider {
|
||||
/** Return a label for the bottom summary during wireless charging. */
|
||||
@Nullable
|
||||
CharSequence getWirelessChargingLabel(@NonNull Context context, @NonNull BatteryInfo info);
|
||||
|
||||
/** Return a remaining time label for wireless charging. */
|
||||
@Nullable
|
||||
CharSequence getWirelessChargingRemainingLabel(
|
||||
@NonNull Context context, long remainingTimeMs, long currentTimeMs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user