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

Commit 2b88ec0b authored by android-build-team Robot's avatar android-build-team Robot Committed by android-build-merger
Browse files

Merge "Fix AHardwareBuffer API documentation" into pi-dev am: 7fb4a3cc

am: d45786ef

Change-Id: Iaf14a3bcb10535b95cb74497df632d7fa068e47f
parents c12e3a8f d45786ef
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -31,9 +31,11 @@ __BEGIN_DECLS

/**
 * Return the AHardwareBuffer associated with a Java HardwareBuffer object,
 * for interacting with it through native code.  This acquires a reference
 * on the AHardwareBuffer that is returned; be sure to use
 * AHardwareBuffer_release() when done with it so that it doesn't leak.
 * for interacting with it through native code. This method does not acquire any
 * additional reference to the AHardwareBuffer that is returned. To keep the
 * AHardwareBuffer live after the Java HardwareBuffer object got garbage
 * collected, be sure to use AHardwareBuffer_acquire() to acquire an additional
 * reference.
 */
AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env,
        jobject hardwareBufferObj);