commit | 47e96014fe6576a0ae7b02e7a2cb2275e549bbc9 | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Mon Mar 28 17:55:56 2016 -0700 |
committer | Peng Xu <pengxu@google.com> | Thu Mar 31 17:28:24 2016 -0700 |
tree | 80f730fec0f1664f8d68ac4a3337571e440da0da | |
parent | 69a1a389321447301a8eaba235190dc1229aefbd [diff] |
Fix a few known issues in SensorService This CL fixes a few known issues in sensorservice which is related to newly added dynamic sensor discovery API. * check and ensure handle uniqueness for dynamically discovered sensor. * add mutex for synchronizing r/w of various sensor lists. * ensure dynamic sensor list is reported sorted by handle. * code format fix Bug: b/27911774 Change-Id: Iec6df90ae150321ea9e4309b2ac1200b8dc37f05