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

Commit 5c5f4532 authored by Christopher Tate's avatar Christopher Tate
Browse files

Make binderDied(IBinder who) public API

Expose the binderDied() variant that supplies the IBinder that has
become invalid.

Bug: 207163286
CTS-Coverage-Bug: 214327236
Test: atest BinderDeathDispatcherTest
Change-Id: I7193e29287dcc5c2a6447514c84840eca8adf61f
parent beccf603
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -30067,6 +30067,7 @@ package android.os {
  public static interface IBinder.DeathRecipient {
    method public void binderDied();
    method public default void binderDied(@NonNull android.os.IBinder);
  }
  public interface IInterface {
+4 −2
Original line number Diff line number Diff line
@@ -311,9 +311,11 @@ public interface IBinder {
        public void binderDied();

        /**
         * @hide
         * Interface for receiving a callback when the process hosting an IBinder
         * has gone away.
         * @param who The IBinder that has become invalid
         */
        default void binderDied(IBinder who) {
        default void binderDied(@NonNull IBinder who) {
            binderDied();
        }
    }