diff --git a/telephony/java/android/telephony/ims/stub/ImsFeatureConfiguration.java b/telephony/java/android/telephony/ims/stub/ImsFeatureConfiguration.java index 2f52c0ac2d994..dfb6e2cef42f6 100644 --- a/telephony/java/android/telephony/ims/stub/ImsFeatureConfiguration.java +++ b/telephony/java/android/telephony/ims/stub/ImsFeatureConfiguration.java @@ -77,6 +77,11 @@ public final class ImsFeatureConfiguration implements Parcelable { result = 31 * result + featureType; return result; } + + @Override + public String toString() { + return "{s=" + slotId + ", f=" + featureType + "}"; + } } /** diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 687a6b738dba6..bb771bb792dec 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -822,6 +822,16 @@ interface ITelephony { */ boolean isResolvingImsBinding(); + /** + * @return true if the ImsService to bind to for the slot id specified was set, false otherwise. + */ + boolean setImsService(int slotId, boolean isCarrierImsService, String packageName); + + /** + * @return the package name of the carrier/device ImsService associated with this slot. + */ + String getImsService(int slotId, boolean isCarrierImsService); + /** * Set the network selection mode to automatic. *