Fix crash during incoming CDMA calls

This was a regression from a previous change to allow for connections
to be created for previously unknown calls. The culprit was a change to
set the state of the newly created connection based on the current state of
the original connection.

Setting the state  inside the Connection constructor code path had
unintended side effects because some state listeners were relying on the constructor
to have completed first.

Since not setting the state has worked fine so far for incoming and outgoing calls,
only do it explictly for unknown calls, and outside of the constructor so that
we can be sure that everything has already been initialized.

Bug: 17892446
Change-Id: Ib3c37d373f0f64205ad688a98b94e46f5bc44199
3 files changed