Move PowerWhitelistBackend to SettingsLib

Bug: 70716754
Test: RunSettingsRoboTests
Change-Id: I897ce3469bb2d72a0cbe96b16b8de1a565ba4e64
This commit is contained in:
Tony Mantler
2017-12-15 10:08:26 -08:00
parent 444989ad35
commit bf25160090
8 changed files with 9 additions and 107 deletions

View File

@@ -120,10 +120,11 @@ public class BatteryOptimizationPreferenceControllerTest {
/**
* Create this test class so we could mock it
*/
public static class TestPowerWhitelistBackend extends PowerWhitelistBackend {
public static class TestPowerWhitelistBackend extends
com.android.settingslib.fuelgauge.PowerWhitelistBackend {
@Override
void refreshList() {
public void refreshList() {
// Do nothing so we could mock it without error
}
}