var transaction = navigator.mozSettings.createLock();
var mccKey = 'operatorvariant.mcc';
var mncKey = 'operatorvariant.mnc';
var mccRequest = transaction.get(mccKey);
mccRequest.onsuccess = function() {
iccSettings.mcc = mccRequest.result[mccKey] || '0';
var mncRequest = transaction.get(mncKey);
mncRequest.onsuccess = function() {
iccSettings.mnc = mncRequest.result[mncKey] || '0';
//tcl_WCL add for pr626331
**if (BrowserDB.db.upgradeFrom < 1)**
callback(data);
};
};
Access mozSettings
最新推荐文章于 2024-07-29 07:00:00 发布