Change-Id: I7dc6ecf180cb4ee16c14ee8e116241419060cf69
This commit is contained in:
Shilin Victor 2018-11-24 16:13:35 +03:00
parent fea277e034
commit d68cbd8111

View file

@ -6652,22 +6652,22 @@ int radio::processRadioState(int newRadioState, int slotId, int indicationType,
/* This is old RIL. Decode Subscription source and Voice Radio Technology
from Radio State and send change notifications if there has been a change */
newVoiceRadioTech = decodeVoiceRadioTechnology((RIL_RadioState)newRadioState);
if(newVoiceRadioTech != voiceRadioTech) {
//if(newVoiceRadioTech != voiceRadioTech) {
voiceRadioTech = newVoiceRadioTech;
voiceRadioTechChangedInd(slotId, indicationType, token, e, &voiceRadioTech, sizeof(int));
}
//}
if(is3gpp2(newVoiceRadioTech)) {
newCdmaSubscriptionSource = decodeCdmaSubscriptionSource((RIL_RadioState)newRadioState);
if(newCdmaSubscriptionSource != cdmaSubscriptionSource) {
//if(newCdmaSubscriptionSource != cdmaSubscriptionSource) {
cdmaSubscriptionSource = newCdmaSubscriptionSource;
cdmaSubscriptionSourceChangedInd(slotId, indicationType, token, e, &cdmaSubscriptionSource, sizeof(int));
}
//}
}
newSimStatus = decodeSimStatus((RIL_RadioState)newRadioState);
if(newSimStatus != simRuimStatus) {
//if(newSimStatus != simRuimStatus) {
simRuimStatus = newSimStatus;
simStatusChangedInd(slotId, indicationType, token, e, &simRuimStatus, sizeof(int));
}
//}
/* Send RADIO_ON to telephony */
newRadioState = RADIO_STATE_ON;