Handle Dead Objects from Phone Crashes better

1) Check to make sure ImsService is available when calling
changeMmTelCapability.
2) Remove caching of ImsConfig in ImsManager. It is already
cached properly in MmTelFeatureConnection.
3) Create a DeathRecipient for MmTelFeature in
MmTelFeatureConnection that cleans up all caches and notifies
ImsManager that the connection is now unavailable.

Bug: 77941698
Test: Manual
Merged-In: Ib26ce5308ec75113ad02c281b2a19cba5f94cdac
Change-Id: I9c3721fe275a94f7f8841e8e84a2f9d8a3c4823b
4 files changed
tree: 2de6b7032c5b76ebf0edd52d9274875f257bfb7c
  1. src/
  2. tests/
  3. Android.mk
  4. CleanSpec.mk
  5. OWNERS
  6. README.txt