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

Skip to content
Commit 0e8f43a2 authored by Grace Jia's avatar Grace Jia
Browse files

Fix ringtone play issue via LE devices.

Currently we query if the inband ringtone is enabled using audio
connected BT device. While when we try to decide if we should
connect to a BT device for ringtone, we haven't connect to any BT
device so the result of inband ring enabled in this case will
always be false. Change to use the most recently reported active
device to query if the inband ring is enabled or not since we'll
use the address of this device later to establish the audio
connection.

Bug: 278835031
Test: BluetoothDeviceManagerTest
Change-Id: I1188b75a347916b6dfda5cdacfcaf6812a5b96cd
parent 3ca0266c
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