Bug 920551 - 2.f/2: fix Voicemail. r=hsinyi,khuey

This commit is contained in:
Vicamo Yang 2013-10-29 16:12:42 +08:00
parent 812e055581
commit 152523ac25
3 changed files with 5 additions and 8 deletions

View File

@ -824,9 +824,6 @@ pref("gfx.gralloc.fence-with-readpixels", true);
// Cell Broadcast API
pref("ril.cellbroadcast.disabled", false);
// Voice Mail API
pref("dom.voicemail.enabled", true);
// The url of the page used to display network error details.
pref("b2g.neterror.url", "app://system.gaiamobile.org/net_error.html");

View File

@ -469,11 +469,6 @@ if CONFIG['MOZ_GAMEPAD']:
'Gamepad.webidl',
]
if CONFIG['MOZ_B2G_RIL']:
WEBIDL_FILES += [
'MozVoicemail.webidl',
]
WEBIDL_FILES += [
'CloseEvent.webidl',
'CustomEvent.webidl',
@ -517,6 +512,7 @@ if CONFIG['MOZ_B2G_RIL']:
'MozEmergencyCbModeEvent.webidl',
'MozOtaStatusEvent.webidl',
'MozStkCommandEvent.webidl',
'MozVoicemail.webidl',
'MozVoicemailEvent.webidl',
'MozWifiConnectionInfoEvent.webidl',
'MozWifiStatusChangeEvent.webidl',

View File

@ -4543,7 +4543,11 @@ pref("dom.mobileconnection.enabled", false);
#endif
// Voice Mail API
#ifdef MOZ_B2G_RIL
pref("dom.voicemail.enabled", true);
#else
pref("dom.voicemail.enabled", false);
#endif
// Numeric default service id for Voice Mail API calls with |serviceId|
// parameter omitted.
pref("dom.voicemail.defaultServiceId", 0);