Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a513b3c8 authored by Sandeep Samdaria's avatar Sandeep Samdaria
Browse files

Dual ring-tone played on AAOS

Problem: On android auto builds, both the in-band ringtone & device
ringtone were being played during an incoming call on a bluetooth
connected device.
When the HFP device is in connecting stage, any stack event
for in-band event was being dropped by the state machine. This
resulted in HFP state machine broadcasting information to telecom
framework that in-band ringtone is not supported. Telecom manager
would then proceed to play the local ringtone.

Solution: Defer the in-band stack event until the phone is connected.

Bug: 267975031
Tags: #stability
Test: Tested on device to verify only one ringtone is being played.
Test: Unit-test to ensure message is deferred.
Change-Id: Ib72b732e974ec5f9cae1233c2b60cb58cc5235f1
parent 5eae43a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment