Go to file
Mathias Agopian 50b66767f6 fix [3237242] sensormanager sensor active count gets out of sync
whether a physical sensor needed to be active or not was managed by
a simpe reference counter; unfortunatelly nothing prevented it to
get out of sync if a sensor was disabled more than once.

sensorservice already maintainted a list of all the "clients"
connected to a physical sensor; we now use that list to determine if
a sensor should be enabled. This can never be "out-of-sync" since
this is the only data structure linking a sensor to a user of that
sensor.

also removed the isEnabled() method, which was never used and
implemented wrongly (since it didn't take into account that a sensor
could be disabled for a client but not of another).

Change-Id: I789affb877728ca957e99f7ba749def37c4db1c7
2012-06-27 17:07:54 -07:00
build I am having second thoughts about 512m for the large heap size. 2012-06-08 13:02:09 -07:00
cmds am 4f0dfaa7: am 9be7caf3: Merge "Include stack traces for certain native processes in bugreport." into jb-dev 2012-06-08 15:33:30 -07:00
data/etc Move com.nxp.mifare to frameworks/native. 2012-04-12 21:24:08 -07:00
include Pass fences from BufferQueue to SurfaceTextureClient 2012-06-21 22:21:12 -07:00
libs Utils: Fix a bug in the linear transformation code. 2012-06-27 15:34:43 -07:00
opengl Update ANativeWindow clients for sync 2012-06-20 15:48:30 -07:00
services fix [3237242] sensormanager sensor active count gets out of sync 2012-06-27 17:07:54 -07:00
MODULE_LICENSE_APACHE2
NOTICE