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

Commit 16687cbc authored by Steven Moreland's avatar Steven Moreland
Browse files

Document linkToDeath behavior on object cleanup.

In Java, this has always been the case, but it wasn't documented.

Bug: 152627219
Test: n/A
Change-Id: I8d93d2876bac8f16101a30afdf06699ece653d25
parent 1886454c
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -294,8 +294,11 @@ public interface IBinder {
     * {@link DeathRecipient#binderDied DeathRecipient.binderDied()} method
     * will be called.
     *
     * <p>This will automatically be unlinked when all references to the linked
     * binder proxy are dropped.</p>
     *
     * <p>You will only receive death notifications for remote binders,
     * as local binders by definition can't die without you dying as well.
     * as local binders by definition can't die without you dying as well.</p>
     *
     * @throws RemoteException if the target IBinder's
     * process has already died.