Ensure CDMA variants have CDMALTEPhone objects setup in frameworks
instead of GSM. This resolves issues with *- dialing and +1 dialing on
Verizon Wireless, for example. Credit to Nolan Burchfield for
identifying the issue.
Change-Id: Ib5188bbf1bbed290962c0e236af96c2f1639f954
// RILs that support RADIO_STATE_ON should support this request.
if (RADIO_STATE_ON == state) {
- dispatchVoid(p, pRI);
+ if (property_get_bool("telephony.lteOnCdmaDevice", false)) {
+ RLOGD("dispatchVoiceRadioTech: lteOnCdmaDevice, forcing RADIO_TECH_1xRTT");
+ voiceRadioTech = RADIO_TECH_1xRTT;
+ RIL_onRequestComplete(pRI, RIL_E_SUCCESS, &voiceRadioTech,
+ sizeof(int));
+ } else {
+ dispatchVoid(p, pRI);
+ }
return;
}