Bug 1064303 - After adding new SIM with MSISDN on device, the mobile ID dialog doesn't show up with "Get Assertion" with the new phone number. r=spenrose

This commit is contained in:
Fernando Jiménez 2014-09-09 16:09:25 +02:00
parent 8ad19c20d3
commit 73834f32c2
2 changed files with 6 additions and 2 deletions

View File

@ -865,13 +865,13 @@ this.MobileIdentityManager = {
if (!simChanged &&
creds.deviceIccIds != null &&
this.IccIds != null) {
this.iccIds != null) {
simChanged = creds.deviceIccIds.length != this.iccIds.length;
}
if (!simChanged &&
creds.deviceIccIds != null &&
this.IccIds != null) {
this.iccIds != null) {
let intersection = creds.deviceIccIds.filter((n) => {
return this.iccIds.indexOf(n) != -1;
});

View File

@ -898,6 +898,8 @@ add_test(function() {
let client = new MockClient();
MobileIdentityManager.client = client;
MobileIdentityManager.iccInfo = [];
let promiseId = Date.now();
let mm = {
sendAsyncMessage: function(aMsg, aData) {
@ -988,6 +990,8 @@ add_test(function() {
});
MobileIdentityManager.client = client;
MobileIdentityManager.iccInfo = [];
let promiseId = Date.now();
let mm = {
sendAsyncMessage: function(aMsg, aData) {