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

Commit 18d585b8 authored by xiaomei.li's avatar xiaomei.li Committed by Xiaomei Li
Browse files

Add notes comment for isBinderAlive API, to warn developers who use this...

Add notes comment for isBinderAlive API, to warn developers who use this should know the limit of this API.

Change-Id: I365af33834cd2bf79487a185c7db743510abfe6c
parent 204576da
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -493,6 +493,11 @@ public final class BinderProxy implements IBinder {
    public native boolean pingBinder();

    /**
     * Check to see if the process that the binder is in is still alive.
     *
     * Note, this only reflects the last known death state, if the object
     * is linked to death or has made a transactions since the death occurs.
     *
     * @return false if the hosting process is gone
     */
    public native boolean isBinderAlive();