Bug 847820 - Part 2: Modify IccManager for exporting contact to SIM. r=bugs

This commit is contained in:
Edgar Chen 2012-12-24 18:38:49 +08:00
parent db627ee6f9
commit b952b80170

View File

@ -157,6 +157,18 @@ IccManager::IccCloseChannel(int32_t aChannel, nsIDOMDOMRequest** aRequest)
return mProvider->IccCloseChannel(GetOwner(), aChannel, aRequest);
}
NS_IMETHODIMP
IccManager::UpdateContact(const nsAString& aContactType,
nsIDOMContact* aContact,
const nsAString& aPin2,
nsIDOMDOMRequest** aRequest)
{
if (!mProvider) {
return NS_ERROR_FAILURE;
}
return mProvider->UpdateContact(GetOwner(), aContactType, aContact, aPin2, aRequest);
}
NS_IMPL_EVENT_HANDLER(IccManager, stkcommand)
NS_IMPL_EVENT_HANDLER(IccManager, stksessionend)