OSDN Git Service

Init BatteryUtils in constructor
authorjackqdyulei <jackqdyulei@google.com>
Mon, 10 Jul 2017 18:00:05 +0000 (11:00 -0700)
committerjackqdyulei <jackqdyulei@google.com>
Mon, 10 Jul 2017 18:08:12 +0000 (11:08 -0700)
commit116fec5b258887bd0f7fb115526dbd88b95f10fd
treed4206e5bb61c312a4ad2c78fca215d4c5e7f0266
parent8dc795d64b7cb828eea92f765552cc9bb2cd83a6
Init BatteryUtils in constructor

In this case we won't have the NPE.

Bug: 63526637
Test: RunSettingsRoboTests
Change-Id: I20375e535ba07deddacf74052f31476e0cb28e56
src/com/android/settings/fuelgauge/anomaly/action/BackgroundCheckAction.java
tests/robotests/src/com/android/settings/fuelgauge/anomaly/action/BackgroundCheckActionTest.java