зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
6999f7d27f
Коммит
da257f02e9
|
@ -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;
|
||||
});
|
||||
|
|
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче