mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Bug 981646 - B2G RIL: Cannot read sdn contacts. r=smaug, vicamo
This commit is contained in:
parent
ef62ce853c
commit
030b9506d3
@ -111,5 +111,10 @@ taskHelper.push(function testReadAdnContacts() {
|
||||
testAddContact("fdn");
|
||||
});
|
||||
|
||||
/* Test read sdn contacts */
|
||||
taskHelper.push(function testReadSdnContacts() {
|
||||
testReadContacts("sdn");
|
||||
});
|
||||
|
||||
// Start test
|
||||
taskHelper.runNext();
|
||||
|
@ -11775,6 +11775,7 @@ ICCFileHelperObject.prototype = {
|
||||
case ICC_EF_ICCID:
|
||||
return EF_PATH_MF_SIM;
|
||||
case ICC_EF_ADN:
|
||||
case ICC_EF_SDN: // Fall through.
|
||||
return EF_PATH_MF_SIM + EF_PATH_DF_TELECOM;
|
||||
case ICC_EF_PBR:
|
||||
return EF_PATH_MF_SIM + EF_PATH_DF_TELECOM + EF_PATH_DF_PHONEBOOK;
|
||||
@ -14240,6 +14241,9 @@ ICCContactHelperObject.prototype = {
|
||||
case "fdn":
|
||||
ICCRecordHelper.readADNLike(ICC_EF_FDN, onsuccess, onerror);
|
||||
break;
|
||||
case "sdn":
|
||||
ICCRecordHelper.readADNLike(ICC_EF_SDN, onsuccess, onerror);
|
||||
break;
|
||||
default:
|
||||
if (DEBUG) {
|
||||
this.context.debug("Unsupported contactType :" + contactType);
|
||||
|
@ -353,6 +353,7 @@ interface MozIcc : EventTarget
|
||||
* One of type as below,
|
||||
* - 'adn': Abbreviated Dialling Number.
|
||||
* - 'fdn': Fixed Dialling Number.
|
||||
* - 'sdn': Service Dialling Number.
|
||||
*
|
||||
* @return a DOMRequest.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user