Fix NPE in startOutoingCall with no phoneAccount.

When a SIP account is added but not enabled, startOutgoingCall cannot
determine a valid phoneAccount to use for initiating the call. This
results in a NPE when trying to change the state of the call to
CONNECTING. So, sending a "no-handle" tag when phoneAccount is null when
invoking setState.

BUG: 21887733
Change-Id: I84b54b48c7e937e5766ae58e52489b708898025b
diff --git a/src/com/android/server/telecom/CallsManager.java b/src/com/android/server/telecom/CallsManager.java
index a53f888..e413ad2 100644
--- a/src/com/android/server/telecom/CallsManager.java
+++ b/src/com/android/server/telecom/CallsManager.java
@@ -624,7 +624,9 @@
             extras = new Bundle(extras);
             extras.putParcelableList(android.telecom.Call.AVAILABLE_PHONE_ACCOUNTS, accounts);
         } else {
-            call.setState(CallState.CONNECTING, phoneAccountHandle.toString());
+            call.setState(
+                    CallState.CONNECTING,
+                    phoneAccountHandle == null ? "no-handle" : phoneAccountHandle.toString());
         }
 
         call.setIntentExtras(extras);