hal: Add SSR/PDR handling in voice call

When SSR/PDR occurs, sometimes RIL/telephony
does not set the call state and mode accordingly due
to which the dapm widgets do not power down leading
to clock count mismatch and SSR failure. Set the call
state to CALL_INACTIVE for all active sessions and
mode to MODE_NORMAL to end the voice call and power down
the widgets within audio.

CRs-Fixed: 2383876
Change-Id: I907a62557ef6519aded98e85ef8811234a6c06c8
1 file changed