OSDN Git Service

Bluetooth PAN: Set isPreferred to true (2/2)
authorAndre Eisenbach <eisenbach@google.com>
Tue, 2 Jun 2015 08:48:29 +0000 (01:48 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 2 Jun 2015 08:59:37 +0000 (01:59 -0700)
commit901ce5de8d7276770bc6dc0b0fd66138218640d8
tree69ca0caff9d4b026355f82f6965235a85d0a0a63
parentafa6361d36f522b4361c4a91a33edd39d322363a
Bluetooth PAN: Set isPreferred to true (2/2)

isPreferred must always be true for PAN so that the DUT can initiate
a PANU connection with the remote device not only from the internet
access menu in the profile setting, but also from the paired device
list menu.

Currently isPreferred is only true when PAN is in connected state
for the PANU role, so it will return false when the PAN profile is
not connected and the PANU connection will never be initiated
from the paired device list menu.

Change-Id: I3d52d89136269508ac6416b695b22842f4bb557a
src/com/android/settings/bluetooth/DeviceProfilesSettings.java