Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a64c272f authored by Jim Blackler's avatar Jim Blackler
Browse files

Give access to the native InputQueue to all native applications.

Bug: 116830907
Test: atest android.view.cts.InputQueueTest#testNativeInputQueue
Change-Id: Ia92de418fe3407d0fa074f9fcb45d8844acbdf59
parent 389fbd16
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1385,6 +1385,14 @@ int32_t AInputQueue_preDispatchEvent(AInputQueue* queue, AInputEvent* event);
 */
void AInputQueue_finishEvent(AInputQueue* queue, AInputEvent* event, int handled);

/**
 * Supplies the AInputQueue* object associated with the supplied Java InputQueue
 * object.
 *
 * Available since API level 33.
 */
AInputQueue* AInputQueue_fromJava(jobject inputQueue) __INTRODUCED_IN(33);

#ifdef __cplusplus
}
#endif