commit | 9cffa8a161856653789c78b4d3b8591374d78e92 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Nov 07 14:59:14 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Mon Nov 13 12:34:47 2017 -0800 |
tree | 1a71a995a706f3c1a43812423460034d71cdef75 | |
parent | 16a72c83e1ee4550cf106c455b8924c0877bf9f8 [diff] |
healthd: move global gHealth service pointer ... to class implementation::Health. Expose APIs InitInstance(), GetImplmentation() for its setter and getter. Clients that statically links to android.hardware .health@2.0-impl (e.g. charger, recovery) should use InitInstance(). Test: health VTS tests Bug: 63702641 Change-Id: I51b9b976d0b723dac1a03e5113d5d9e84300c0e9