Making CallsManager interact with only Calls.
Eventually, I would like CallsManager to interact only with Call
objects. This is one move in that direction.
OLD:
CallsManager->Switchboard-+->Call-+->CallService
+-------+
NEW:
CallsManager->Call-+->Switchboard-+->CallService
+--------------+
This change also includes new direct listening to Call events by
CallsManager. At the moment includes only success/failure of incoming
and outgoing calls but should eventually be more generic as we implement
more of the Telecomm design.
Change-Id: I7a764706acd0872960642a7b16c71a2bc514f3b3
diff --git a/src/com/android/telecomm/OutgoingCallProcessor.java b/src/com/android/telecomm/OutgoingCallProcessor.java
index 315a9bd..5c8d5f5 100644
--- a/src/com/android/telecomm/OutgoingCallProcessor.java
+++ b/src/com/android/telecomm/OutgoingCallProcessor.java
@@ -16,15 +16,11 @@
package com.android.telecomm;
-import android.os.Handler;
-import android.os.Looper;
-import android.os.RemoteException;
-import android.telecomm.CallState;
import android.telecomm.CallServiceDescriptor;
import com.google.android.collect.Sets;
-import com.google.common.collect.Maps;
import com.google.common.collect.Lists;
+import com.google.common.collect.Maps;
import java.util.Collection;
import java.util.Iterator;