Merge "Make binderDied(IBinder who) public API"
This commit is contained in:
@@ -30074,6 +30074,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