commit | f33a6e9645517b9bcf7236bc6f2b7fe182a0137d | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Sun Nov 14 20:55:25 2010 -0800 |
committer | Mathias Agopian <mathias@google.com> | Sun Nov 14 20:55:25 2010 -0800 |
tree | 44cf038843fc171c35835cb9c5ee8c07d4c393ed | |
parent | e2ef2c10e76a4648a27ce4c392eb7b9b3589b9f7 [diff] |
Fix a race condition in sensormanager the per-connection state assumed the main sensorservice lock was held during access. This is however not true while pre-processing the events just before sending them to clients. Therefore, there was a small window during which this state could be modified while being used. we now have an internal lock that protects this state. Change-Id: I594680f20f09d6a4f1f38f093a1d3f650dcef1be