commit | 380b8ba38aacc53cbe29219fd7c41a5b0e22081f | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Mon May 01 15:09:49 2017 -0700 |
committer | Peng Xu <pengxu@google.com> | Wed May 03 22:19:28 2017 +0000 |
tree | 82c861fef0f021215b273007a79fc257a2d8527e | |
parent | 2041913a05b79b96c5c084f30bb8944049a976c8 [diff] |
Correct sensor handle for operation parameter Sensor handle 0 is a valid sensor handle. Use SENSORS_HANDLE_BASE - 1 instead in inject_sensor_data for operation parameter. Test: sensor cts passes Bug: 37956047 Change-Id: I138c2e21d74f532526a53a76be857866764a3d53