Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2eae48e authored by Ajay Kumar's avatar Ajay Kumar Committed by Linux Build Service Account
Browse files

Fix to avoid the case when interface is already enabled.

Added BT_STATUS_DONE check in JNI interface loading.
Change-id: Iccfbe510a91bd94de258bcbe61b4fd6fa9044441
CRs-Fixed: 636497

Bluetooth :Fix to avoid the access of JNI gloabal reference object

This is a conrner case where bindandfinish gets called anytime
where adapter state!= STOPPED and calls cleanupNative. Further
while cleanup at lower layer will try to access JNI reference
which is already deleted.

Change-id: I579bc4015b61ad653f18a5f4a3d26a2508236ff5
CRs-Fixed: 642466

Bluetooth: Adapterservice Cleanup and unbind

AdapterService cleanup and unbind happens only when the
BT state is off.

CRs-fixed: 556716,562137
Change-id: Ida3b3c12a97604919fbab6d7f4f34b9daa93d85a

Bluetooth: GAP: Transition to stable state based on device

This patch adds check in BluetoothBondStateMachine to transition to
stable state on reception of BOND_STATE_NONE only for device that
are in pairing state and not for all devices. Without this patch it
was observed that state was transitioning to stable state for all
devices resulting in discarding of BOND_STATE_NONE from device that
was actually in pairing mode resulting in UI stuck in pairing forever.

Change-id: Ia860d26a5f036c13d649434246ba6dea7b9807f2
CRs-Fixed: 584102

Bluetooth: GAP: Update bondstatemachine to handle pairing scenarios

This patch updates BluetoothBondStateMachine to properly handle concurrency
scenarios of pairing while pairing is ongoing with some remote device.
Without this patch it was observed that DUT was getting stuck in pairing
when unpairing was done for some paired devices and pairing timed out with
device for which pairing was being initiated.

Change-id: I07d2bc323aebbeada9c930eb36c9855da59dd677
CRs-Fixed: 586935

Bluetooth: Null check added before accessing the Adapter service
Change-id: I22acb495f8aa76683dae4bc68376443a67f45b0a
Null check is being added before accesing the Adapter service's
APIs like createBondNative, cancelBondNative.

CRs-Fixed: 552616

Change-Id: Ib9014f653e829a5e4518a558ff39d5e89dafa0f3

Conflicts:
	src/com/android/bluetooth/btservice/BondStateMachine.java

Change-Id: I93c377d8a55b5a23ea9e12c453aaa145b2a71961
parent dbfc61c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment