Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ public interface BatteryController extends DemoMode, /** * Returns {@code true} if there's a battery present in the device. */ boolean isPresent(); default boolean isPresent() { return true; } /** * Returns {@code true} if the device is currently in power save mode. Loading packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/FakeBatteryController.java +0 −5 Original line number Diff line number Diff line Loading @@ -68,11 +68,6 @@ public class FakeBatteryController extends BaseLeakChecker<BatteryStateChangeCal return false; } @Override public boolean isPresent() { return true; } @Override public boolean isPowerSave() { return mPowerSaveMode; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ public interface BatteryController extends DemoMode, /** * Returns {@code true} if there's a battery present in the device. */ boolean isPresent(); default boolean isPresent() { return true; } /** * Returns {@code true} if the device is currently in power save mode. Loading
packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/FakeBatteryController.java +0 −5 Original line number Diff line number Diff line Loading @@ -68,11 +68,6 @@ public class FakeBatteryController extends BaseLeakChecker<BatteryStateChangeCal return false; } @Override public boolean isPresent() { return true; } @Override public boolean isPowerSave() { return mPowerSaveMode; Loading