Bug 1189884 - Read/Update ANR of SIM Contact Properly. r=echen

This commit is contained in:
Bevis Tseng 2015-08-03 20:24:40 +08:00
Родитель 970439aa28
Коммит 54ebb598c5
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -96,7 +96,7 @@ function IccContact(aContact) {
let anrLen = aContact.anr ? aContact.anr.length : 0;
for (let i = 0; i < anrLen; i++) {
this._numbers.push(anr[i]);
this._numbers.push(aContact.anr[i]);
}
if (aContact.email) {
@ -717,7 +717,7 @@ Icc.prototype = {
if (length > 0) {
iccContact.anr = [];
for (let i = 0; i < length; i++) {
iccContact.anr.push(anrArray[i].value);
iccContact.anr.push(anrArray[i]);
}
}
}