The packages/services/Telecomm counterpart of ag/420591.
Change-Id: I42ec26518d9391704fe5d0443867b00e635fc845
diff --git a/src/com/android/telecomm/Switchboard.java b/src/com/android/telecomm/Switchboard.java
index 34398d2..d2c5bf9 100644
--- a/src/com/android/telecomm/Switchboard.java
+++ b/src/com/android/telecomm/Switchboard.java
@@ -22,7 +22,7 @@
import android.os.Handler;
import android.os.Looper;
-import android.telecomm.CallServiceInfo;
+import android.telecomm.CallServiceDescriptor;
import android.telecomm.ICallServiceSelector;
import java.util.Collection;
@@ -134,11 +134,11 @@
* on the result.
*
* @param call The call object.
- * @param callServiceInfo The details of the call service.
+ * @param descriptor The relevant call-service descriptor.
* @param callToken The token used by the call service to identify the incoming call.
*/
- void confirmIncomingCall(Call call, CallServiceInfo callServiceInfo, String callToken) {
- CallServiceWrapper callService = mCallServiceRepository.getCallService(callServiceInfo);
+ void confirmIncomingCall(Call call, CallServiceDescriptor descriptor, String callToken) {
+ CallServiceWrapper callService = mCallServiceRepository.getCallService(descriptor);
mIncomingCallsManager.confirmIncomingCall(call, callService, callToken);
}