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

Skip to content
Commit c8f6d3f2 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Wait for SCO connected signal to ring when BT is connected

Wait for SCO connected signal in AsyncRingtonePlayer before
starting to play the ringtone when a BT device is connected. This
reduces "broken" sounding ringtones when BT is connected.

This change also changes how AsyncRingtonePlayer#isPlaying works
because delays in PLAY could cause multiple PLAY commands to stack.

Bug: 274081739
Test: Test: manual testing; atest TelecomUnitTests; atest CtsTelecomTestCases
Change-Id: If9bb02166756b17282e830061f24365550ca8978
parent 2ad70e9d
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