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

Commit 7bdf6fe5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "javaObjectForIBinder: warn rets global and local" am: bbcefaed am: ee64ad8c

parents 5514be66 ee64ad8c
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -56,6 +56,12 @@ __attribute__((warn_unused_result)) AIBinder* AIBinder_fromJavaBinder(JNIEnv* en
 * If the binder is null, null is returned. If this binder object was originally an IBinder object,
 * If the binder is null, null is returned. If this binder object was originally an IBinder object,
 * the original java object will be returned.
 * the original java object will be returned.
 *
 *
 * WARNING: this function returns global and local references. This can be
 * figured out using GetObjectRefType. Though, when this function is called
 * from within a Java context, the local ref will automatically be cleaned
 * up. If this is called outside of a Java frame,
 * PushObjectFrame/PopObjectFrame can simulate this automatic cleanup.
 *
 * Available since API level 29.
 * Available since API level 29.
 *
 *
 * \param env Java environment. Must not be null.
 * \param env Java environment. Must not be null.