Merge "Update the call composer capability if user setting changes in IMS" am: c8a8f749f6

Original change: https://android-review.googlesource.com/c/platform/packages/services/Telephony/+/1540888

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I157a110d32366b3cb6eae9c5024c27be84beb0ab
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index a831e94..b8f87ea 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -6536,9 +6536,13 @@
                 if (defaultPhone != null && defaultPhone.getPhoneType() == PHONE_TYPE_IMS) {
                     ImsPhone imsPhone = (ImsPhone) defaultPhone;
                     imsPhone.setCallComposerStatus(status);
+                    ImsManager.getInstance(mApp, getSlotIndexOrException(subId))
+                            .updateImsServiceConfig();
                 }
             }
-        } finally {
+        } catch (ImsException e) {
+            throw new ServiceSpecificException(e.getCode());
+        }  finally {
             Binder.restoreCallingIdentity(identity);
         }
     }