Remove orphaned Calls as part of doUpdate().

When a connection is no longer valid in telephony (for whatever reason),
we do not clear it from our list of Calls.  This results in the UI
becoming non-dismissable.

We do not expect this condition but have seen cases where connection
objects become orphaned (like when device switches technologies
GSM->CDMA and back).  See bug for more information.

Could not repro this case.  Did testing by simulating orphaned
connection objects and making sure the UI goes away.

Change-Id: Iaa4264713bbab29545dff4b85d74d0879366b751
1 file changed