OSDN Git Service

Plumb context object to PowerWhitelistBackend.
[android-x86/packages-apps-Settings.git] / tests / robotests / src / com / android / settings / fuelgauge / BatteryOptimizationPreferenceControllerTest.java
index b454416..dec9c6a 100644 (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