Android Wear 8.0.0 Release 0.51 (OWDM.180508.011,catfish)
drivers: nanohub: send nanohub log to hal if sensorhal is alive.

BUG: 112289111

Descriptions:

When sensorservice is not started, the nanohub log will stuck in the
kernel sensor event buffer and cannot receive new event from sensorhub,
including fuel gauge event. So we need to just print the log to kernel
log and release the event.

Change-Id: Ie2e9dadacea5675b0a338b312f5479a896e62c6b
Signed-off-by: Fanming Kong <fmkong@mobvoi.com>
4 files changed