I am using Binder for communication between two processes. Suppose process A (server) creates a Binder and passes it to process B (client). Process B calls the relevant interfaces on the received IBinder.
I know that B can monitor if process A is killed by using linkToDeatch()
on that IBinder.
The question I would like to ask is.
- Is there any way for A to be notified that process B is killed (except for ping).
- How to release the resource related to the Binder? directly assign binder to null?