mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
ril
Change-Id: I7dc6ecf180cb4ee16c14ee8e116241419060cf69
This commit is contained in:
parent
fea277e034
commit
d68cbd8111
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue