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
This commit is contained in:
@@ -246,8 +246,8 @@ float AMotionEvent_getHistoricalOrientation(AInputEvent* motion_event, size_t po
|
||||
|
||||
|
||||
void AInputQueue_attachLooper(AInputQueue* queue, ALooper* looper,
|
||||
ALooper_callbackFunc* callback, void* data) {
|
||||
queue->attachLooper(looper, callback, data);
|
||||
int ident, ALooper_callbackFunc* callback, void* data) {
|
||||
queue->attachLooper(looper, ident, callback, data);
|
||||
}
|
||||
|
||||
void AInputQueue_detachLooper(AInputQueue* queue) {
|
||||
|
||||
Reference in New Issue
Block a user