Protecting Null Pointer Exception for Terminated IMS call.

Protecting Null Pointer Exception when accessing the call id
of a terminated call which does not have an active connection.

Bug: 218161502
Change-Id: I6dfcae478737b223576d5eb7310f87aa2c825401
Merged-In: I6dfcae478737b223576d5eb7310f87aa2c825401
(cherry picked from commit 31dcaa81cf1fc10a648a188859be7ac3122afe50)
(cherry picked from commit d62d9e264a0be2702f4f0f04b001a4d3fa5c24b4)
Merged-In: I6dfcae478737b223576d5eb7310f87aa2c825401
1 file changed