Bug 905955 - B2G RIL: mms data connection does not get disconnected. r=vicamo

This commit is contained in:
Jessica Jong 2013-08-20 19:31:10 +08:00
Родитель 044480d3f0
Коммит 8fcfcfa162
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -3232,6 +3232,8 @@ RadioInterface.prototype = {
function RILNetworkInterface(radioInterface, apnSetting) {
this.radioInterface = radioInterface;
this.apnSetting = apnSetting;
this.connectedTypes = [];
}
RILNetworkInterface.prototype = {
@ -3402,12 +3404,12 @@ RILNetworkInterface.prototype = {
registeredAsDataCallCallback: false,
registeredAsNetworkInterface: false,
connecting: false,
apnSetting: {},
apnSetting: null,
// APN failed connections. Retry counter
apnRetryCounter: 0,
connectedTypes: [],
connectedTypes: null,
inConnectedTypes: function inConnectedTypes(type) {
return this.connectedTypes.indexOf(type) != -1;