mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 788377 - Part 2: Rename type to contactType in Contact. r=gwagner
This commit is contained in:
parent
54c0a989f0
commit
c64ff0c04f
@ -550,13 +550,13 @@ ContactManager.prototype = {
|
||||
return request;
|
||||
},
|
||||
|
||||
getSimContacts: function(aType) {
|
||||
getSimContacts: function(aContactType) {
|
||||
let request;
|
||||
request = this.createRequest();
|
||||
let options = {type: aType};
|
||||
let options = {contactType: aContactType};
|
||||
|
||||
let allowCallback = function() {
|
||||
if (DEBUG) debug("getSimContacts " + aType);
|
||||
if (DEBUG) debug("getSimContacts " + aContactType);
|
||||
cpmm.sendAsyncMessage("Contacts:GetSimContacts",
|
||||
{requestID: this.getRequestId({request: request, reason: "getSimContacts"}),
|
||||
options: options});
|
||||
|
@ -149,11 +149,11 @@ let DOMContactManager = {
|
||||
);
|
||||
break;
|
||||
case "Contacts:GetSimContacts":
|
||||
let callback = function(aType, aContacts) {
|
||||
if (DEBUG) debug("got SIM contacts: " + aType + " " + JSON.stringify(aContacts));
|
||||
let callback = function(aContactType, aContacts) {
|
||||
if (DEBUG) debug("got SIM contacts: " + aContactType + " " + JSON.stringify(aContacts));
|
||||
mm.sendAsyncMessage("Contacts:GetSimContacts:Return:OK", {requestID: msg.requestID, contacts: aContacts});
|
||||
};
|
||||
mRIL.getICCContacts(msg.options.type, callback);
|
||||
mRIL.getICCContacts(msg.options.contactType, callback);
|
||||
break;
|
||||
default:
|
||||
if (DEBUG) debug("WRONG MESSAGE NAME: " + aMessage.name);
|
||||
|
Loading…
Reference in New Issue
Block a user