diff options
author | Hridya Valsaraju <hridya@google.com> | 2019-11-22 15:06:08 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2019-11-23 02:07:08 +0000 |
commit | 55f1a1f3f695e4f85f0e54d0fd5e0578e9de95ab (patch) | |
tree | 18f890bc1bfbe50db3af2ba720fa100e302fa5bc /identity/support/src/cppbor_parse.cpp | |
parent | 3d3c792bb8de35950c5626405b578f89cd215cd1 (diff) |
health 2.0: Check health_loop status for passthrough usage
health HAL is used as passthrough in recovery mode and hence
healthd_main() is not invoked. Add checks in
healthd_battery_update_internal() and healthd_register_event()
to return when health_loop is NULL.
Test: fastboot getvar battery-voltage works in fastbootd.
Bug: 144299329
Change-Id: I0a975a4bfe942813f9c5b3936df91cc3d8fa9674
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions