Block late suspend briefly when call state changes
Block late suspend briefly when call state changes

The legacy call state tracking in mce uses only three states "none",
"ringing" and "active". Late suspend is allowed immediately after call
state changes to "active" - which for outgoing calls happens right
after the "call" button in ui is pressed. This can cause problems for
things like audio routing changes / dtmf playback that happens when the
call actually gets connected.

Block late suspend for 1 minute when call state changes to "active"
and 5 seconds for any other change in call state.

[mce] Block late suspend briefly when call state changes. Fixes JB#23614

mlehtima/mce,android-808/mce,android-808/mce,maikelwever/mce,spiiroin/mce,kimmoli/mce,spiiroin/mce,mikkoharju/mce,kimmoli/mce,maikelwever/mce,mlehtima/mce,android-808/mce,mikkoharju/mce,mikkoharju/mce,kimmoli/mce,mikkoharju/mce,android-808/mce,mlehtima/mce,maikelwever/mce,spiiroin/mce,spiiroin/mce,kimmoli/mce,mlehtima/mce,maikelwever/mce