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

Commit 0a36da2f authored by Vidhi Shah's avatar Vidhi Shah
Browse files

Stop route scanning after succesfully connecting to route.

Currently, we stop route scan at the time of device discovery and issuing a connection request. This causes the route to disappear during an ongoing connection attempt leading to failure to cast.

The solution is to continue scanning for devices until the connection is established with the suggested device once it is clicked in the UMO.
Additionally, added a check for connection status when reporting connection attempt completing due to connection success vs timeout.

Bug: 422720290
Flag: com.android.media.flags.enable_suggested_device_api
Test: Manual testing and ran InfoMediaManagerTest, LocalMediaManagerTest
Change-Id: I6e7b6933d2aaee5813e050bc596767fe12d1db77
parent 7f40afe3
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