summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
authorHenrik Backlund <henrik.backlund@sonyericsson.com>2010-08-30 11:59:42 +0200
committerJohan Redestig <johan.redestig@sonyericsson.com>2010-09-09 10:07:15 +0200
commita79c82918e3df38197cd4c81d10049401485036e (patch)
tree52666aa69092e35aa3791ca0e9c526c9acb97388 /libs/hwui/ProgramCache.cpp
parentbd6abed3c8c7c0215fd937d27f1eda1ee88d11a1 (diff)
Fix to get A2DP to connect after unpairing
In this fix, A2DP profile will be connected when pairing with a previously paired headset. The reason for this error was that the connection of the A2DP profile was sent before the callback onCreatePairedDeviceResult was receied in BluetoothEventLoop.java. By not going to the state BOND_BONDED until after this callback has been received, the problem is fixed. However the use case is different if the pairing is initiated by the remote device. In these cases state BOND_BONDED will be set when onDevicePropertyChanged instead. Change-Id: I5dedca87d0a6872705ff3a933a99cce6eb37618a
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions