Merge "Make binderDied(IBinder who) public API" am: dcbb21deaa

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

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

View File

@@ -30074,6 +30074,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();
}
}