Skip to content
Snippets Groups Projects
Commit b9933ef7 authored by Yalu Zhang's avatar Yalu Zhang
Browse files

Change the logic for DECT hook event simulation to fit different behaviors on platforms

line_new_connection_by_dect() is called in the following scenarios:
- DECT handset answers an incoming call
- DECT handset initiates an outgoing call

Depending upon the current hook state, either OFFHOOK or FLASH is simulated.

But different platforms have different ways to simulate the hook events.
On Broadcom platform, simulation is a delayed process and the original logic works fine.
On Qualcomm/D2 platform, simulation is a synchronized process and the original logic will
generate two events, OFFHOOK and FLASH simultaneously. This causes the call be held.
parent f72238f7
No related branches found
No related tags found
No related merge requests found
Pipeline #97015 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment