Go to file
Ricardo Cerqueira c77679141d sensorservice: Fix init sequence for pre-1.1 API sensor HALs
The sensors API introduced a new flush() method that older binaries
won't have. For those, replace the firstFlush invocation with a
setDelay call since a lot of implementations interpreted that as
the initialization step.
We also don't want any kind of call to flush() to happen when it
isn't there, since it'll either hit a random OEM extension or
a memory address we really don't want to execute.

Change-Id: I26ce923fe385751fed7d1c483a53c074249f0620

sensorservice: Set the rate for pre-1.1 HALs _after_ activation

We want to be sure these are applied in the same sequence they
used to be...

Change-Id: Ied2ba08ed3c4bed3a80bac6ab5471fcea9ba2c09
2015-11-07 13:48:42 -08:00
build native: Restore VM memory overrides 2015-10-12 23:36:09 -07:00
cmds Android 6.0.0 release 26 2015-11-05 01:41:42 +00:00
data/etc Add XML for pro audio feature 2015-08-27 20:09:39 -07:00
docs framework/native/docs: remove doc footer for jd output 2015-05-27 10:13:35 -07:00
include Android 6.0.0 release 26 2015-11-05 01:41:42 +00:00
libs Android 6.0.0 release 26 2015-11-05 01:41:42 +00:00
opengl libEGL: allow devices to workaround Google bug 10194508 2015-10-16 14:45:10 -07:00
services sensorservice: Fix init sequence for pre-1.1 API sensor HALs 2015-11-07 13:48:42 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00