replicant-frameworks_native/services/sensorservice
Mathias Agopian 71d7a5c289 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
2012-06-27 17:07:54 -07:00
..
tests improve sensorservice dumpsys and increase the max sensor rate to 1 ms (1000Hz) 2012-06-27 17:07:54 -07:00
Android.mk
SensorService.cpp Fix a race condition in sensormanager 2012-06-27 17:07:54 -07:00
SensorService.h Fix a race condition in sensormanager 2012-06-27 17:07:54 -07:00