Bug 888821 - B2G MMS: Expose "wap.UAProf.url" and "wap.UAProf.tagname" as new Settings entries in Gecko part. r=vyang

This commit is contained in:
Chia-hung Tai 2013-07-17 13:47:31 +08:00
parent 5b34df01ae
commit 359057f376

View File

@ -179,6 +179,16 @@ SettingsListener.observe('language.current', 'en-US', function(value) {
function(value) {
Services.prefs.setBoolPref('ril.radio.disabled', value);
});
SettingsListener.observe('wap.UAProf.url', '',
function(value) {
Services.prefs.setCharPref('wap.UAProf.url', value);
});
SettingsListener.observe('wap.UAProf.tagname', 'x-wap-profile',
function(value) {
Services.prefs.setCharPref('wap.UAProf.tagname', value);
});
})();
//=================== DeviceInfo ====================