commit | 8228fa7bcd38f5e46d8f83a9c7795510c4ad87af | [log] [tgz] |
---|---|---|
author | Brian Stack <bstack@google.com> | Fri Jan 04 14:15:13 2019 -0800 |
committer | Brian Stack <bstack@google.com> | Wed Jan 16 15:43:41 2019 -0800 |
tree | 3188e33920d39cbf1801ab8d01ee3a6c9382724e | |
parent | ccd88439e37c3be30b1025f9282017d859bd39b1 [diff] |
Add ASensor_getHandle API to Sensors NDK Introduces the ASensor_getHandle API which returns the provided sensor's internal sensor handle. This allows for AdditionalInfo sensor events to be mapped to the sensor that generated the event. Bug: 122366555 Test: Builds, verified function correctly returns sensor's handle Change-Id: I9a03ccc8b0840481fe1b5b4d1e5bca05adcf48a3