Bug 874273: B2G RIL - return correct voice network type. r=yoshi

This commit is contained in:
Vicamo Yang 2013-06-07 16:50:10 +08:00
parent e389424b1b
commit f540811326

View File

@ -961,10 +961,7 @@ RadioInterfaceLayer.prototype = {
voiceInfo.connected = newInfo.connected;
voiceInfo.roaming = newInfo.roaming;
voiceInfo.emergencyCallsOnly = newInfo.emergencyCallsOnly;
// Unlike the data registration info, the voice info typically contains
// no (useful) radio tech information, so we have to manually set
// this here. (TODO GSM only for now, see bug 726098.)
voiceInfo.type = "gsm";
voiceInfo.type = newInfo.type;
// Make sure we also reset the operator and signal strength information
// if we drop off the network.