Merge "Update the call composer capability if user setting changes in IMS"
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);
}
}