commit | d5fcc13ca66d1eabeee0e6f9a6daeabbdc6b7573 | [log] [tgz] |
---|---|---|
author | Jack He <siyuanh@google.com> | Thu May 17 18:43:09 2018 -0700 |
committer | Jack He <siyuanh@google.com> | Thu May 17 23:58:37 2018 -0700 |
tree | 02e564415b9bdda65739c06f661dd98c3f7fe737 | |
parent | 4f844836e50ba622b8a90fe770bb22c3b0dc2273 [diff] |
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