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;
|
||||
|
||||
if (!mCLIP) {
|
||||
MessageLoop::current()->PostTask(FROM_HERE,
|
||||
new SendRingIndicatorTask(""));
|
||||
MessageLoop::current()->
|
||||
PostDelayedTask(FROM_HERE,
|
||||
new SendRingIndicatorTask(""),
|
||||
sRingInterval);
|
||||
} else {
|
||||
// Same logic as implementation in ril_worker.js
|
||||
int type = TOA_UNKNOWN;
|
||||
@ -993,8 +995,10 @@ BluetoothHfpManager::SetupCIND(int aCallIndex, int aCallState,
|
||||
type = TOA_INTERNATIONAL;
|
||||
}
|
||||
|
||||
MessageLoop::current()->PostTask(FROM_HERE,
|
||||
new SendRingIndicatorTask(aNumber, type));
|
||||
MessageLoop::current()->
|
||||
PostDelayedTask(FROM_HERE,
|
||||
new SendRingIndicatorTask(aNumber, type),
|
||||
sRingInterval);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user