mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
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:
parent
5b34df01ae
commit
359057f376
@ -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 ====================
|
||||
|
Loading…
Reference in New Issue
Block a user