Continuing the outgoing call flow -- passing call services from the finder back to the switchboard.

Change-Id: I613e8e77af02b645c7bffc6661c5b3c3e07278dc
diff --git a/src/com/android/telecomm/CallServiceFinder.java b/src/com/android/telecomm/CallServiceFinder.java
index 360c503..20c7ee8 100644
--- a/src/com/android/telecomm/CallServiceFinder.java
+++ b/src/com/android/telecomm/CallServiceFinder.java
@@ -159,6 +159,8 @@
      */
     static final String CALL_SERVICE_PROVIDER_CLASS_NAME = ICallServiceProvider.class.getName();
 
+    private final Switchboard mSwitchboard;
+
     /**
      * Determines whether or not a lookup cycle is already running.
      */
@@ -194,12 +196,21 @@
     private Timer mTimer;
 
     /**
+     * Persists the specified parameters.
+     *
+     * @param switchboard The switchboard for this finer to work against.
+     */
+    CallServiceFinder(Switchboard switchboard) {
+        mSwitchboard = switchboard;
+    }
+
+    /**
      * Initiates a lookup cycle for call-service providers.
      * TODO(gilad): Expand this comment to describe the lookup flow in more detail.
      *
      * @param context The relevant application context.
      */
-    public synchronized void initiateLookup(Context context) {
+    synchronized void initiateLookup(Context context) {
         if (mIsLookupInProgress) {
             // At most one active lookup is allowed at any given time, bail out.
             return;
@@ -320,6 +331,7 @@
     private void updateSwitchboard() {
         synchronized (mProviderRegistry) {
             // TODO(gilad): More here.
+            mSwitchboard.setCallServices(null);
         }
     }
 }