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

Commit fca69efd authored by Devin Moore's avatar Devin Moore
Browse files

Clarify alternate API for getWindowNativeHandle

Test: none
Bug: 283283111
Change-Id: I3ef77f566fc63360f8593742e7b19ba2a5143dd5
parent 5f86662a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -534,6 +534,11 @@ media_status_t AImageReader_setBufferRemovedListener(
 * Get the native_handle_t corresponding to the ANativeWindow owned by the
 * AImageReader provided.
 *
 * This is deprecated in API level 35 and will return AMEDIA_ERROR_UNKNOWN.
 * The native_handle_t is no longer used with AIDL interfaces and
 * ANativeWindow is used directly instead.
 * Use AImageRead_getWindow to get the ANativeWindow and use that object.
 *
 * @param reader The image reader of interest.
 * @param handle The output native_handle_t. This native handle is owned by
 *               this image reader.