diff options
author | 2021-09-01 16:39:16 +0100 | |
---|---|---|
committer | 2021-11-01 13:22:21 +0000 | |
commit | a64c272fa2fac03883ec858fcd5ceabcc6b0b1d1 (patch) | |
tree | 9bda3f67bd236d66b820950bb4e16a3fc1cec093 /include/android/input.h | |
parent | 389fbd16eef0b1b5a51c449553b42e1bae45e061 (diff) |
Give access to the native InputQueue to all native applications.
Bug: 116830907
Test: atest android.view.cts.InputQueueTest#testNativeInputQueue
Change-Id: Ia92de418fe3407d0fa074f9fcb45d8844acbdf59
Diffstat (limited to 'include/android/input.h')
-rw-r--r-- | include/android/input.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/android/input.h b/include/android/input.h index 6d2c1b3015..27587ce483 100644 --- a/include/android/input.h +++ b/include/android/input.h @@ -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 |