Merge "Make binderDied(IBinder who) public API" am: dcbb21deaa am: 5b4764e7a1 am: e96c133793 am: fc6068e669

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

Change-Id: I9da90e62fa1fb10707ddacb901f2095c0483bf62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2022-05-18 07:23:05 +00:00
committed by Automerger Merge Worker
2 changed files with 5 additions and 2 deletions

View File

@@ -31434,6 +31434,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 {

View File

@@ -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();
}
}