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

Skip to content
Commit 3ba66bf5 authored by Cheney Ni's avatar Cheney Ni
Browse files

PhonePolicy: Fix no auto-connect to other profiles while previous attempt failed partially

When profiles connected, we may do auto-connect other profiles if they
are not connected, and add into a retry set. It will be removed from
this set when connected. If the auto-connecting profile is not
connected, it will stay at this set, and cause we won't auto-connect
next time. This CL removes device from profiles' retry set by
disconnection state.

Bug: 127872462
Test: runtest bluetooth -c com.android.bluetooth.btservice.PhonePolicyTest
Change-Id: I8cf037206357bac1ef5034f71f60010aab25e2c1
parent 123d59a7
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