OSDN Git Service

HFP/A2DP: Remove pending auto-connect messages when connected
authorAjay Panicker <apanicke@google.com>
Wed, 26 Aug 2015 20:58:38 +0000 (13:58 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 27 Aug 2015 01:52:02 +0000 (18:52 -0700)
commit9135d866b12ff019a4eae37e7a8c0df56a4383f2
treed259d1a1b3af0de897219d2707d1d1d12efc5053
parent72ecb4caa630b63f66505ccb202a807b1af4e294
HFP/A2DP: Remove pending auto-connect messages when connected

Fixes a bug in which being paired with multiple headsets causes
previously connected headsets to disconnect. This fix removes
pending connect attemps once one device is successfully connected.

Bug: 23111466
Change-Id: Id471189d92643b9626e63197c00e76defd0a72bf
src/com/android/bluetooth/a2dp/A2dpStateMachine.java
src/com/android/bluetooth/hfp/HeadsetStateMachine.java