Cache call events to ensure that cap exchange events are not missed

At the beginning of the call, if a call event is sent too soon, it
can result in the voip app missing a call event. Cache the pending call
events in a CachedCallback and deliver them when the ServiceWrapper
is set.

Flag: com.android.server.telecom.flags.cache_call_events
Bug: 364311190
Test: atest TelecomUnitTests:CallTest and manual ICS app testing
Change-Id: Ib577a652736634ca9be81adaed254f74b4d0fc4e
13 files changed