OSDN Git Service

Bluetooth PAN: Set isPreferred to true (1/2)
authorAndre Eisenbach <eisenbach@google.com>
Tue, 2 Jun 2015 08:38:03 +0000 (01:38 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 2 Jun 2015 08:58:58 +0000 (01:58 -0700)
commit60598075a0d54dcb4287d77c91b946e6c407a669
treedcaf8409ac36f4f5f1ae118ab19221eae49db1fb
parent1f8b844870eb9acb334b541b0b41de37e000d2f0
Bluetooth PAN: Set isPreferred to true (1/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: I120e681a113f56b74b45e01870adf96cdc2ca262
packages/SettingsLib/src/com/android/settingslib/bluetooth/PanProfile.java