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

Commit ce3030f2 authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Android (Google) Code Review
Browse files

Merge "Add lifecycle information to docs for AInputQueue_fromJava"

parents db65e0e5 9d43974f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1386,8 +1386,11 @@ 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.
 * Returns the AInputQueue* object associated with the supplied Java InputQueue
 * object. The returned native object holds a weak reference to the Java object,
 * and is only valid as long as the Java object has not yet been disposed. You
 * should ensure that there is a strong reference to the Java object and that it
 * has not been disposed before using the returned object.
 *
 * Available since API level 33.
 */