Config battery info page(1/2)

- Make battery information page configurable

Bug: 301817717
Test: make SettingsRoboTests
Change-Id: I51bf00fe3d9993ecd4e8481cd7c15d70b3c09ec4
This commit is contained in:
Wesley Wang
2023-09-21 18:54:38 +08:00
parent 097a9e736c
commit bace563189
6 changed files with 121 additions and 1 deletions

View File

@@ -26,4 +26,7 @@ public interface BatterySettingsFeatureProvider {
/** Returns true if first use date should be shown */
boolean isFirstUseDateAvailable(Context context, long firstUseDateMs);
/** Check whether the battery information page is enabled in the About phone page */
boolean isBatteryInfoEnabled(Context context);
}