Loading src/com/android/settings/fuelgauge/batterytip/BatteryTipLoader.java +0 −3 Original line number Diff line number Diff line Loading @@ -58,9 +58,6 @@ public class BatteryTipLoader extends AsyncLoaderCompat<List<BatteryTip>> { final BatteryInfo batteryInfo = mBatteryUtils.getBatteryInfo(TAG); final Context context = getContext().getApplicationContext(); tips.add( new HighUsageDetector(context, batteryTipPolicy, mBatteryUsageStats, batteryInfo) .detect()); tips.add(new BatteryDefenderDetector(batteryInfo, context).detect()); tips.add(new IncompatibleChargerDetector(context).detect()); FeatureFactory.getFeatureFactory() Loading tests/robotests/src/com/android/settings/fuelgauge/batterytip/BatteryTipLoaderTest.java +0 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,6 @@ public class BatteryTipLoaderTest { BatteryTip.TipType.LOW_BATTERY, BatteryTip.TipType.BATTERY_DEFENDER, BatteryTip.TipType.INCOMPATIBLE_CHARGER, BatteryTip.TipType.HIGH_DEVICE_USAGE }; @Mock(answer = Answers.RETURNS_DEEP_STUBS) Loading Loading
src/com/android/settings/fuelgauge/batterytip/BatteryTipLoader.java +0 −3 Original line number Diff line number Diff line Loading @@ -58,9 +58,6 @@ public class BatteryTipLoader extends AsyncLoaderCompat<List<BatteryTip>> { final BatteryInfo batteryInfo = mBatteryUtils.getBatteryInfo(TAG); final Context context = getContext().getApplicationContext(); tips.add( new HighUsageDetector(context, batteryTipPolicy, mBatteryUsageStats, batteryInfo) .detect()); tips.add(new BatteryDefenderDetector(batteryInfo, context).detect()); tips.add(new IncompatibleChargerDetector(context).detect()); FeatureFactory.getFeatureFactory() Loading
tests/robotests/src/com/android/settings/fuelgauge/batterytip/BatteryTipLoaderTest.java +0 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,6 @@ public class BatteryTipLoaderTest { BatteryTip.TipType.LOW_BATTERY, BatteryTip.TipType.BATTERY_DEFENDER, BatteryTip.TipType.INCOMPATIBLE_CHARGER, BatteryTip.TipType.HIGH_DEVICE_USAGE }; @Mock(answer = Answers.RETURNS_DEEP_STUBS) Loading