commit | 51937bc703a9c0720718a96916d94c78976e5a40 | [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 | d991e8b790e47a619a6b2a76516570a43a55b1d6 [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