Removing CallServiceUnavailableException that is no longer applicable.
Also including some cleanup in preparation for the next round of switchboard changes.
Change-Id: Ia8b293c971ff3866e4317eca4c9d053779917956
diff --git a/src/com/android/telecomm/Switchboard.java b/src/com/android/telecomm/Switchboard.java
index a1658e6..bb1ef3a 100644
--- a/src/com/android/telecomm/Switchboard.java
+++ b/src/com/android/telecomm/Switchboard.java
@@ -22,15 +22,9 @@
import com.google.common.collect.Sets;
import android.content.Context;
-import android.os.RemoteException;
import android.telecomm.ICallService;
import android.telecomm.ICallServiceSelector;
-import android.util.Log;
-import com.android.telecomm.exceptions.CallServiceUnavailableException;
-import com.android.telecomm.exceptions.OutgoingCallException;
-
-import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
@@ -46,8 +40,6 @@
*/
final class Switchboard {
- private static final String TAG = Switchboard.class.getSimpleName();
-
private CallServiceFinder mCallServiceFinder = new CallServiceFinder(this);
private CallServiceSelectorFinder mSelectorFinder = new CallServiceSelectorFinder(this);
@@ -72,10 +64,7 @@
private Map<Call, OutgoingCallProcessor> outgoingCallProcessors = Maps.newHashMap();
/**
- * Places an outgoing call to the handle passed in. Method asynchronously collects
- * {@link ICallService} implementations and passes them along with the handle and contactInfo
- * to {@link #placeOutgoingCallInternal} to actually place the call.
- * TODO(gilad): Update.
+ * Attempts to place an outgoing call to the specified handle.
*
* @param handle The handle to dial.
* @param contactInfo Information about the entity being called.