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 03fc84d87b059..7e8b2de4bc2a7 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -828,6 +828,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. *