Merge "Plumb context object to PowerWhitelistBackend." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-05-30 03:08:20 +00:00
committed by Android (Google) Code Review
7 changed files with 22 additions and 22 deletions

View File

@@ -115,6 +115,10 @@ public class BatteryOptimizationPreferenceControllerTest {
*/
public static class TestPowerWhitelistBackend extends PowerWhitelistBackend {
public TestPowerWhitelistBackend(Context context) {
super(context);
}
@Override
public void refreshList() {
// Do nothing so we could mock it without error