Allow wireless charging label to customize content descriptions

Fixes: 343616480
Test: atest SettingsRoboTests
Change-Id: I0d87b50fd88167b57ce9d9b06d776ba2ebe304ea
This commit is contained in:
Yiling Chuang
2024-06-06 09:43:43 +00:00
parent f91bd7ba24
commit 6dc8193d81
5 changed files with 33 additions and 0 deletions

View File

@@ -49,6 +49,11 @@ public interface BatterySettingsFeatureProvider {
@Nullable
CharSequence getWirelessChargingLabel(@NonNull Context context, @NonNull BatteryInfo info);
/** Return a content description for the bottom summary during wireless charging. */
@Nullable
CharSequence getWirelessChargingContentDescription(
@NonNull Context context, @NonNull BatteryInfo info);
/** Return a charging remaining time label for wireless charging. */
@Nullable
CharSequence getWirelessChargingRemainingLabel(