Remove CallServiceProvider and CallServiceDescript: Impl do not merge
This CL removes usage CallServiceProvider. Instead
ConnectionServiceRepository uses package manager to look up
all ConnectionService implementations.
Everywhere we used CallServiceDescriptors has now been
replaced by ComponentNames.
Change-Id: I2e40c5c64c0d242dc41b680943d7e9209142db5b
(cherry picked from commit 10e6050b2186650fbc18b0aa62b2e7d74e0aa80a)
diff --git a/src/com/android/telecomm/IncomingCallsManager.java b/src/com/android/telecomm/IncomingCallsManager.java
index 197f699..5fa80f5 100644
--- a/src/com/android/telecomm/IncomingCallsManager.java
+++ b/src/com/android/telecomm/IncomingCallsManager.java
@@ -37,11 +37,8 @@
* Retrieves details of an incoming call through its associated connection service.
*
* @param call The call object.
- * @param extras The optional extras passed with the incoming call intent (to be returned to
- * the connection service via
- * {@link ConnectionService#createIncomingCall(ConnectionRequest)}.
*/
- void retrieveIncomingCall(final Call call, Bundle extras) {
+ void retrieveIncomingCall(final Call call) {
ThreadUtil.checkOnMainThread();
Log.d(this, "retrieveIncomingCall");
@@ -56,7 +53,7 @@
}
};
- call.getConnectionService().createIncomingCall(call, extras, errorCallback);
+ call.getConnectionService().createIncomingCall(call, errorCallback);
}
/**