Support binding to multiple ImsServices per slot (1/2)
Refactor ImsService override to work with new configuration.
Test: atest FrameworksTelephonyTests; atest CtsTelephonyTestCases
Change-Id: Ib12b9aefe69be09f7565887f421d77b9923a9ec8
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 4a13f7b..1a5aa8c 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -4619,7 +4619,9 @@
// may happen if the device does not support IMS.
return "";
}
- return resolver.getImsServiceConfiguration(slotId, isCarrierImsService);
+ // TODO: change API to query RCS separately.
+ return resolver.getImsServiceConfiguration(slotId, isCarrierImsService,
+ ImsFeature.FEATURE_MMTEL);
} finally {
Binder.restoreCallingIdentity(identity);
}