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

Commit 5735b085 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

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

Merge "Add notes comment for isBinderAlive API, to warn developers who use this should know the limit of this API." into main am: 2f274768

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3281391



Change-Id: I1a382a0b30f8d41581ba33e0256c254079e8ec80
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents df3552db 2f274768
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();