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

Skip to content
Commit d8ae3769 authored by Jack He's avatar Jack He
Browse files

PhonePolicy: Stop auto connecting to devices that failed to connect

* Set priority from AUTO_CONNECT to ON when device failed to connect
  as indicated by transition from CONNECTING TO DISCONNECTED state
* Set priority from AUTO_CONNECT to ON for all disconnected devices
  when a device is connected

Bug: 79956685
Test: runtest -j40 bluetooth -c
      com.android.bluetooth.btservice.PhonePolicyTest
Change-Id: I319ee174fa5f32630418c40f8372e30d41ae8871
(cherry picked from commit d5fcc13c)
parent d617142a
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