| commit | a8fad9bd6ca694bb0f86d617c72122d2220ec253 | [log] [tgz] |
|---|---|---|
| author | Peng Xu <pengxu@google.com> | Fri Mar 17 12:20:27 2017 -0700 |
| committer | Peng Xu <pengxu@google.com> | Fri Mar 24 21:02:04 2017 +0000 |
| tree | d67055f7089926b9c8af1db630b879cff53f61c5 | |
| parent | b178d3d244f9a168992fbbd79f17ccf7fe93e6bb [diff] |
Checks hidl service and remove hidl call at dump
Two things:
* check for hidl service availability before calling any hidl
functions.
* remove hidl dependency on dump to ensure dump will not cause
crash due to hidl failure.
Bug: 36073404
Test: check sensor running after reboot
Test: check dumpsys sensorservice works normally.
Change-Id: I8626635a143a9f07f263f85d95ab16749ea1e452