зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1155063
- Part 3: CallStateChanged accepts an array (bluetooth dom). r=btian
--HG-- extra : rebase_source : 056f3a9c609a19e0cbdfa713f605f617046fdc1f
This commit is contained in:
Родитель
a7f53dcb89
Коммит
4489badf21
|
@ -218,9 +218,13 @@ TelephonyListener::HandleCallInfo(nsITelephonyCallInfo* aInfo, bool aSend)
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
TelephonyListener::CallStateChanged(nsITelephonyCallInfo* aInfo)
|
||||
TelephonyListener::CallStateChanged(uint32_t aLength,
|
||||
nsITelephonyCallInfo** aAllInfo)
|
||||
{
|
||||
return HandleCallInfo(aInfo, true);
|
||||
for (uint32_t i = 0; i < aLength; ++i) {
|
||||
HandleCallInfo(aAllInfo[i], true);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
@ -217,9 +217,13 @@ TelephonyListener::HandleCallInfo(nsITelephonyCallInfo* aInfo, bool aSend)
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
TelephonyListener::CallStateChanged(nsITelephonyCallInfo* aInfo)
|
||||
TelephonyListener::CallStateChanged(uint32_t aLength,
|
||||
nsITelephonyCallInfo** aAllInfo)
|
||||
{
|
||||
return HandleCallInfo(aInfo, true);
|
||||
for (uint32_t i = 0; i < aLength; ++i) {
|
||||
HandleCallInfo(aAllInfo[i], true);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче