frameworks/base: Fix for headset switch detect
- Headset Switch detect is not functional - Headset driver on modem in 8x25 and 7x27A targets introduces a delay of 500ms before reporting headset events to application processor to avoid the problem of spurious interrupts being reported due to hardware limitation on these targets. Frameworks code in JB treats button release event received after 500ms after button press as long press event and generates WEBSEARCH event. Due to this all the events in 8x25 and 7x27A are interpreted as long press events. - To avoid this problem increase the timeout to more than 500ms by introducing headset hook delay property for these targets. CRs-fixed: 387247 (cherry picked from commit 5878d849442af33378805f7b9964102119c2fc93) Change-Id: I03a77666bb217168f7c362bd775dadfbe09fe638
Loading
Please register or sign in to comment