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

Commit 12d9825a authored by Devin Moore's avatar Devin Moore
Browse files

Clarify API level for AImageReader_getWindowNativeHandle

It's deprecated in vendor implementations after vendor API level 34.

Test: none
Bug: none
Change-Id: I0ac071a64fa5d079012f924289b7fa815eceba44
parent 6fb383a2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -534,7 +534,8 @@ 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.
 * This is deprecated on devices with vendor API level greater than 34 and
 * will return AMEDIA_ERROR_UNKNOWN on those devices.
 * 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.