commit | 9e3adfcebf28c5c76085108dffe98c74df56857d | [log] [tgz] |
---|---|---|
author | Aravind Akella <aakella@google.com> | Wed Sep 03 15:48:05 2014 -0700 |
committer | Aravind Akella <aakella@google.com> | Wed Sep 03 18:24:05 2014 -0700 |
tree | 18d56b979a4d8b0c3a6f5222daf3caf50761e434 | |
parent | bcbf97ef8fb6eaf527014ed9e7d979ad4fe9fdd2 [diff] |
SensorService flush fixes. i) Fix a possible race condition when adding a pending flush connection to mActiveSensors data structure. ii) Invalidate flush_complete_events as soon as they are consumed by a connection so that they are not used by other connections which are registered for the same sensor. Change-Id: I1491bea8c2081c4aab1feacc60add13b7aa26bb7