mozilla-b2g/platform_external_qemu — pull request #8 by shianyow (2012-11-15 09:37:54+00:00)
Title: Bug 790463: Fix crash caused by missing call states

There is an automatically call state transition mechanism in emulator.
1. After handleDial(), the call state changed to A_CALL_DIALING and a timer (one second) initiated state transition.
2. Timeout function voice_call_event() called, and call state changed to A_CALL_ALERTING, and another timer (one second) initiated for next state transition.
3. Timeout function voice_call_event() called, and call state changed to A_CALL_ACTIVE.

During the automatically state transition period, it's possible call state been changed by console commands (ex: 'gsm accpet' or 'gsm hold') for testing purpose. We should not assert on these states.