Bug 960961 - Part 3: add logs for setup/deactivate data call. r=vicamo

This commit is contained in:
Jessica Jong 2014-01-23 16:44:49 +08:00
parent 133cf0ed2c
commit 3f52d885d8

View File

@ -3758,8 +3758,12 @@ RadioInterface.prototype = {
}, },
setupDataCallByType: function(apntype) { setupDataCallByType: function(apntype) {
if (DEBUG) this.debug("setupDataCallByType: " + apntype);
let apnSetting = this.apnSettings.byType[apntype]; let apnSetting = this.apnSettings.byType[apntype];
if (!apnSetting) { if (!apnSetting) {
if (DEBUG) {
this.debug("No apn setting for type: " + apntype);
}
return; return;
} }
@ -3798,8 +3802,12 @@ RadioInterface.prototype = {
}, },
deactivateDataCallByType: function(apntype) { deactivateDataCallByType: function(apntype) {
if (DEBUG) this.debug("deactivateDataCallByType: " + apntype);
let apnSetting = this.apnSettings.byType[apntype]; let apnSetting = this.apnSettings.byType[apntype];
if (!apnSetting) { if (!apnSetting) {
if (DEBUG) {
this.debug("No apn setting for type: " + apntype);
}
return; return;
} }