Fix ImsStateCallbackController
We found that remote clients are not removed from
the list when calling unregisterStateCallback
while executing CTS.
The reason of the problem is that
the references to IImsStateCallback passed
when calling registerImsStateCallback
and unregisterImsStateCallback are different.
So, we need to identify the remote clients
with IBinder not IImsStateCallback itself.
Bug: 178016400
Test: cts, atest ImsStateCallbackControllerTest
Change-Id: I10a099043301f61cb32ca88a89543a1136ee4d80
2 files changed