Add ImsManager.addRegistrationListener function
[android/platform/frameworks/opt/net/ims.git] / src / java / com / android / ims / ImsServiceBase.java
index 69364e3..66122df 100644 (file)
@@ -67,6 +67,12 @@ public abstract class ImsServiceBase {
         }
 
         @Override
+        public void addRegistrationListener(int serviceId, int serviceType, IImsRegistrationListener listener) {
+            onAddRegistrationListener(serviceId, serviceType, listener);
+        }
+
+
+        @Override
         public ImsCallProfile createCallProfile(int serviceId, int serviceType, int callType) {
             return onCreateCallProfile(serviceId, serviceType, callType);
         }
@@ -155,6 +161,10 @@ public abstract class ImsServiceBase {
         // no-op
     }
 
+    protected void onAddRegistrationListener(int serviceId, int serviceType, IImsRegistrationListener listener) {
+        // no-op
+    }
+
     protected ImsCallProfile onCreateCallProfile(int serviceId, int serviceType, int callType) {
         // no-op