mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 828118 - Patch 1: Failed to answer a phone call when bluetooth headset quickly send out ATA message, r=qdot
This commit is contained in:
parent
5d014c7f62
commit
c3a150b672
@ -983,8 +983,10 @@ BluetoothHfpManager::SetupCIND(int aCallIndex, int aCallState,
|
|||||||
sStopSendingRingFlag = false;
|
sStopSendingRingFlag = false;
|
||||||
|
|
||||||
if (!mCLIP) {
|
if (!mCLIP) {
|
||||||
MessageLoop::current()->PostTask(FROM_HERE,
|
MessageLoop::current()->
|
||||||
new SendRingIndicatorTask(""));
|
PostDelayedTask(FROM_HERE,
|
||||||
|
new SendRingIndicatorTask(""),
|
||||||
|
sRingInterval);
|
||||||
} else {
|
} else {
|
||||||
// Same logic as implementation in ril_worker.js
|
// Same logic as implementation in ril_worker.js
|
||||||
int type = TOA_UNKNOWN;
|
int type = TOA_UNKNOWN;
|
||||||
@ -993,8 +995,10 @@ BluetoothHfpManager::SetupCIND(int aCallIndex, int aCallState,
|
|||||||
type = TOA_INTERNATIONAL;
|
type = TOA_INTERNATIONAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageLoop::current()->PostTask(FROM_HERE,
|
MessageLoop::current()->
|
||||||
new SendRingIndicatorTask(aNumber, type));
|
PostDelayedTask(FROM_HERE,
|
||||||
|
new SendRingIndicatorTask(aNumber, type),
|
||||||
|
sRingInterval);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user