commit | 5363254ba38b50da95e5bdb15391c139c182627c | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Mon Jan 23 20:06:27 2017 -0800 |
committer | Peng Xu <pengxu@google.com> | Mon Jan 23 20:06:27 2017 -0800 |
tree | 6a2ab422bc7f158f23c92558605d5675970d202e | |
parent | 2d7a12616717f9b7bde05f72d2d9d31e2cef2850 [diff] |
Add function to determine if SensorDevice support direct report Added a function to SensorDevice to indicate if direct report is supported. This avoided a crash condition in non-HIDL implementation. Test: test with demo app on a HAL w/ and w/o direct report support Change-Id: If68497bb8890b9e6003c2afeec38d16daf81f237