Can't dial Emergency call when user turn on airplane mode.

STEPS TO REPRODUCE:
1.Insert double sim card
2.open airplane mode
3.Dial emergency call

EXPECTED RESULTS:
Turn on airplane mode,dial Emergency call.

OBSERVED RESULTS:
The state of RadioState and ServiceState are out of sync:
phone.getServiceStateTracker().isRadioOn() is true, but phone.getServiceState().getState() is ServiceState.STATE_POWER_OFF.

In this case, framework will throw CallStateException(because phone.getServiceState().getState() == ServiceState.STATE_POWER_OFF).

Bug: 120180814

Test case: open flight mode,dial Emergency call
Change-Id: Iff2bb442a818ca0ffc827317f46cfc571bffb6c3
1 file changed