summaryrefslogtreecommitdiffstats
path: root/native/include/android/sensor.h
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-09-07 15:28:30 -0700
committerDianne Hackborn <hackbod@google.com>2010-09-07 15:46:55 -0700
commit42c03e579aade011b451e2a13ea3f44a2ef0056a (patch)
tree1716fbd88e2beb816d303c3d3fa0ca1785b8db61 /native/include/android/sensor.h
parent6e86915e8f5dfffa60ae5d1a4ca9aa74912fd026 (diff)
downloadframeworks_base-42c03e579aade011b451e2a13ea3f44a2ef0056a.zip
frameworks_base-42c03e579aade011b451e2a13ea3f44a2ef0056a.tar.gz
frameworks_base-42c03e579aade011b451e2a13ea3f44a2ef0056a.tar.bz2
Modify native ALooper to take an explicit ident.
The ALooper API now uses an explicit "identifier" for the integer that is returned rather than implicitly using the fd. This allows the APIs that had the fd to be a little more sane. Change-Id: I8507f535ad484c0bdc4a1bd016d87bb09acd7ff0
Diffstat (limited to 'native/include/android/sensor.h')
-rw-r--r--native/include/android/sensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/include/android/sensor.h b/native/include/android/sensor.h
index b4ce024..a102d43 100644
--- a/native/include/android/sensor.h
+++ b/native/include/android/sensor.h
@@ -166,7 +166,7 @@ ASensor const* ASensorManager_getDefaultSensor(ASensorManager* manager, int type
* Creates a new sensor event queue and associate it with a looper.
*/
ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager,
- ALooper* looper, ALooper_callbackFunc* callback, void* data);
+ ALooper* looper, int ident, ALooper_callbackFunc* callback, void* data);
/*
* Destroys the event queue and free all resources associated to it.