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

@@ -30,4 +30,9 @@ public class BatterySettingsFeatureProviderImpl implements BatterySettingsFeatur
public boolean isFirstUseDateAvailable(Context context, long firstUseDateMs) {
return false;
}
@Override
public boolean isBatteryInfoEnabled(Context context) {
return false;
}
}