commit | 71d7a5c289c6ef6b5fc86dd4784a075ca6470e38 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Sun Nov 14 20:55:25 2010 -0800 |
committer | Mathias Agopian <mathias@google.com> | Wed Jun 27 17:07:54 2012 -0700 |
tree | 0179f726357ef2daa400e207dbc56c0576a81c52 | |
parent | 94e8f6813f3fb2beaa9bcbfb1ad9b4ae2eb46949 [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