From 1cce1ec352b2a969d0132c38a1043eab3a18d2cc Mon Sep 17 00:00:00 2001 From: Omkar Kolangade Date: Mon, 4 May 2015 17:49:14 -0700 Subject: [PATCH] IMS RAT Reporting in Registration Unsol Adding a parameter to the IMS registration complete and progressing callbacks allowing frameworks to be notified of the radio access technology over which IMS is registered. Bug: 21902225 Change-Id: I3b340da3776b617fd9d944585672bce51c5d9c1e --- .../ims/internal/IImsRegistrationListener.aidl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl b/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl index a6a26584411ba..c139170013305 100644 --- a/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl +++ b/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl @@ -17,6 +17,7 @@ package com.android.ims.internal; import com.android.ims.ImsReasonInfo; + /** * A listener type for receiving notifications about the changes to * the IMS connection(registration). @@ -26,13 +27,19 @@ import com.android.ims.ImsReasonInfo; interface IImsRegistrationListener { /** * Notifies the application when the device is connected to the IMS network. + * + * @param imsRadioTech the radio access technology. Valid values are {@code + * RIL_RADIO_TECHNOLOGY_*} defined in {@link ServiceState}. */ - void registrationConnected(); + void registrationConnected(int imsRadioTech); /** * Notifies the application when the device is trying to connect the IMS network. + * + * @param imsRadioTech the radio access technology. Valid values are {@code + * RIL_RADIO_TECHNOLOGY_*} defined in {@link ServiceState}. */ - void registrationProgressing(); + void registrationProgressing(int imsRadioTech); /** * Notifies the application when the device is disconnected from the IMS network.