diff options
author | Aravind Akella <aakella@google.com> | 2014-09-08 15:45:47 -0700 |
---|---|---|
committer | Aravind Akella <aakella@google.com> | 2014-09-10 18:24:18 -0700 |
commit | 8493b79e1cff92450076ca7450c4bf4e434a6816 (patch) | |
tree | ece62840a560291f7e3453da472750d3fa3aa489 /include/gui | |
parent | 9e691c1093fa9c00d82f5a33f5382c2610734ca6 (diff) | |
download | frameworks_native-8493b79e1cff92450076ca7450c4bf4e434a6816.zip frameworks_native-8493b79e1cff92450076ca7450c4bf4e434a6816.tar.gz frameworks_native-8493b79e1cff92450076ca7450c4bf4e434a6816.tar.bz2 |
SensorService fixes
i) Significant Motion multiple clients fix. Make a copy of
mActiveConnections vector before cleaning up SensorEventConnections
when one-shot sensors trigger.
ii) Maintain a mapping between flush_complete_events and
SensorEventConnections to accurately map flush() API calls and
corresponding flush_complete_events
iii) Remove all references to 1_1 and 1_2 HALs.
iv) Dynamically allocate sensor_event buffers in SensorService main
threadLoop.
Bug: 17412359
Change-Id: If3c3986197660cafef2d2e0b4dc7582e229cf1c4
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/SensorEventQueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/SensorEventQueue.h b/include/gui/SensorEventQueue.h index 5402f37..019308d 100644 --- a/include/gui/SensorEventQueue.h +++ b/include/gui/SensorEventQueue.h @@ -27,7 +27,7 @@ #include <gui/BitTube.h> // ---------------------------------------------------------------------------- -#define WAKE_UP_SENSOR_EVENT_NEEDS_ACK (1U << 30) +#define WAKE_UP_SENSOR_EVENT_NEEDS_ACK (1U << 31) struct ALooper; struct ASensorEvent; |