Merge "Make binderDied(IBinder who) public API" am: dcbb21deaa am: 5b4764e7a1 am: e96c133793
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1916883 Change-Id: I208d9c2cf7d4cca56bf8aa06c9ae4cb2b1a77189 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -31434,6 +31434,7 @@ package android.os {
|
|||||||
|
|
||||||
public static interface IBinder.DeathRecipient {
|
public static interface IBinder.DeathRecipient {
|
||||||
method public void binderDied();
|
method public void binderDied();
|
||||||
|
method public default void binderDied(@NonNull android.os.IBinder);
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IInterface {
|
public interface IInterface {
|
||||||
|
|||||||
@@ -311,9 +311,11 @@ public interface IBinder {
|
|||||||
public void binderDied();
|
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();
|
binderDied();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user