OSDN Git Service

Adjust profile priorities when setting auto-connect
authorRavi Nagarajan <nravi@broadcom.com>
Wed, 29 Aug 2012 12:29:51 +0000 (05:29 -0700)
committerMatthew Xie <mattx@google.com>
Wed, 29 Aug 2012 19:40:27 +0000 (12:40 -0700)
commit9eb4a84924718019c35fc5b32e59a6750ecf4116
tree94dcd9d36cea35e34cb63e36a43ff2716297f3f5
parent976912e5f597f015754aa67f2a74040e27f58eab
Adjust profile priorities when setting auto-connect

At a given point only one device should be set to have
PRIORITY_AUTO_CONNECT per profile. When setting a device priority
adjust the other devices' priority to make sure auto-connect
is attempted with only one device
bug 7076087

Change-Id: I1e03945a06e7acc901b53f34429194b3c3e76cd7
src/com/android/bluetooth/btservice/AdapterService.java