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

Commit 68290fb1 authored by Jayant Chowdhary's avatar Jayant Chowdhary Committed by Android (Google) Code Review
Browse files

Merge "Clarify documentation for AImageReader_getHGBPFromHandle."

parents d2b4b770 1398159d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -170,9 +170,7 @@ struct AImageReader : public RefBase {
};

// Retrieves HGraphicBufferProducer corresponding to the native_handle_t
// provided. This method also deletes the HalToken corresponding to the
// native_handle_t. Thus, if it is used twice in succession, the second call
// returns nullptr;
// provided (this native handle MUST have been obtained by AImageReader_getWindowNativeHandle()).
sp<HGraphicBufferProducer> AImageReader_getHGBPFromHandle(const native_handle_t *handle);

#endif // _NDK_IMAGE_READER_PRIV_H