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

Skip to content
Commit fe3c0d79 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Yet another reconnection improvement

We want to have non connected set members in the allow list when group
is streaming.

On the event that one device got disconnected we do as follow
1. If this is connection timeout - device goes to allow list when group
   is streaming
2. If this is disconnection initiated by remote side don't know if both
   devices are going to be disconnected or it is just single earbud put
   back to the charing case. With this patch, when earbud got disconnected
   by remote side, we schedule a function to check after 3sec if group is
   still streaming - if so device goes to allow list.

Bug: 275753723
Test: manual (streaming, put one bud to the charging case, wait for
screen off, take it back)
Test: atest BluetoothInstrumentationTests
Tag: #feature

Change-Id: I26dc62ec75c8642fe9b5c686563cc0dec57adb38
parent 56acba04
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