]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/commit
Initialize healthd_mode_ops in recovery default Health HAL impl.
authorHridya Valsaraju <hridya@google.com>
Fri, 28 Sep 2018 17:44:02 +0000 (10:44 -0700)
committerHridya Valsaraju <hridya@google.com>
Fri, 28 Sep 2018 21:30:20 +0000 (21:30 +0000)
commitbf0b9faaadaace8fd6b3b72f8cde023a854c333a
tree4a7e7db00737fe5e5ed9b50116ba274b1d5e78bd
parent0d30daba94d703fa05e16e2296688bc510f34a79
Initialize healthd_mode_ops in recovery default Health HAL impl.

This is required for correct functioning of getHealthInfo() API
in recovery since BatteryMonitor requires healthd_mode_ops to be
initialized to update battery properties.

Bug: 78793464
Test: fastboot getvar battery-voltage
Change-Id: I9ff77664cada22e4aa3668bfb7d28d5f1d45590b
health/2.0/default/Health.cpp
health/2.0/default/HealthImplDefault.cpp