OSDN Git Service

Resolved incoming pairing/connection issue
authorRavi Nagarajan <nravi@broadcom.com>
Wed, 6 Jun 2012 13:56:12 +0000 (19:26 +0530)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 17 Jul 2012 05:11:14 +0000 (22:11 -0700)
commit2f9a79b2d545e1a8b50a0018456892a9934db99a
tree13d8e7440ddc4a53efa0864e5844a74a82a81c8a
parent579f67ec87646f840c1235eb62d99ab9fa11f23c
Resolved incoming pairing/connection issue

Sending bond_state_changed and adapter_properties_cb concurrently was
causing a race condition, which resulted in the BOND_STATE_CHANGED intent not
being sent. This caused the Settings to not show the newly bonded
device. This has been resolved by letting BondStateMachine manage
the mBondedDevices

Change-Id: Ieba39602436370fd9a87c3aa938ff3bd724c68cf
src/com/android/bluetooth/btservice/AdapterProperties.java
src/com/android/bluetooth/btservice/BondStateMachine.java