Remove Session Id from ImsService APIs that do not need it. am: b5f30c7854 am: 8dcc70a6a7
[android/platform/frameworks/opt/net/ims.git] / src / java / com / android / ims / ImsManager.java
index 96debae..c57b441 100644 (file)
@@ -32,6 +32,7 @@ import android.provider.Settings;
 import android.telecom.TelecomManager;
 import android.telephony.CarrierConfigManager;
 import android.telephony.Rlog;
+import android.telephony.ServiceState;
 import android.telephony.SubscriptionManager;
 import android.telephony.TelephonyManager;
 import android.telephony.ims.ImsServiceProxy;
@@ -1667,7 +1668,7 @@ public class ImsManager {
             }
 
             if (mListener != null) {
-                mListener.onImsConnected();
+                mListener.onImsConnected(ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN);
             }
         }
 
@@ -1678,7 +1679,7 @@ public class ImsManager {
             }
 
             if (mListener != null) {
-                mListener.onImsProgressing();
+                mListener.onImsProgressing(ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN);
             }
         }
 
@@ -1691,7 +1692,6 @@ public class ImsManager {
             }
 
             if (mListener != null) {
-                mListener.onImsConnected();
                 mListener.onImsConnected(imsRadioTech);
             }
         }
@@ -1705,7 +1705,7 @@ public class ImsManager {
             }
 
             if (mListener != null) {
-                mListener.onImsProgressing();
+                mListener.onImsProgressing(imsRadioTech);
             }
         }
 
@@ -1750,7 +1750,7 @@ public class ImsManager {
                     serviceClass + ", event=" + event);
 
             if (mListener != null) {
-                mListener.onImsConnected();
+                mListener.onImsConnected(ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN);
             }
         }