commit | d9d4e1bc3bcecea31cc0aa055758915b3cbc6bef | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Sun Apr 23 15:23:07 2017 -0700 |
committer | Peng Xu <pengxu@google.com> | Sun Apr 23 15:23:07 2017 -0700 |
tree | 27bd937704e1c6a29e90746294bd8aecf9bdc17c | |
parent | b0806f1006ce4e930e338b61002c1ba5d8cf7fed [diff] |
Return correct value at initDataInjection and avoid crash When data inject channel cannot be initialized return false, instead of causing crash. Bug: 37549731 Test: run GTS SensorHostTest, test succeed with no failures observed. Change-Id: Ia7a078b9e7d4f61927da8d76a0206e588fd6686c