Provide stub implementation for new IImsService method.
Tyler Gunn [Thu, 10 Mar 2016 21:38:16 +0000 (13:38 -0800)]
Bug: 27458894
Change-Id: I0b3684f8c084efa377849797957179141081154d

src/java/com/android/ims/ImsServiceBase.java

index 0fdde8e..69364e3 100644 (file)
@@ -23,6 +23,7 @@ import com.android.ims.internal.IImsCallSession;
 import com.android.ims.internal.IImsCallSessionListener;
 import com.android.ims.internal.IImsConfig;
 import com.android.ims.internal.IImsEcbm;
+import com.android.ims.internal.IImsMultiEndpoint;
 import com.android.ims.internal.IImsRegistrationListener;
 import com.android.ims.internal.IImsService;
 import com.android.ims.internal.IImsUt;
@@ -110,6 +111,11 @@ public abstract class ImsServiceBase {
         public void setUiTTYMode(int serviceId, int uiTtyMode, Message onComplete) {
             onSetUiTTYMode(serviceId, uiTtyMode, onComplete);
         }
+
+        @Override
+        public IImsMultiEndpoint getMultiEndpointInterface(int serviceId) {
+            return onGetMultiEndpointInterface(serviceId);
+        }
     }
 
     private ImsServiceBinder mBinder;
@@ -197,5 +203,10 @@ public abstract class ImsServiceBase {
     protected void onSetUiTTYMode(int serviceId, int uiTtyMode, Message onComplete) {
         // no-op
     }
+
+    protected IImsMultiEndpoint onGetMultiEndpointInterface(int serviceId) {
+        // no-op
+        return null;
+    }
 }