Merge change 21929 into eclair
* changes: Fix device address check when profile state changes.
This commit is contained in:
@@ -231,7 +231,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
|
|||||||
BluetoothJob job = workQueue.peek();
|
BluetoothJob job = workQueue.peek();
|
||||||
if (job == null) {
|
if (job == null) {
|
||||||
return;
|
return;
|
||||||
} else if (job.cachedDevice.mDevice.equals(mDevice)) {
|
} else if (!job.cachedDevice.mDevice.equals(mDevice)) {
|
||||||
// This can happen in 2 cases: 1) BT device initiated pairing and
|
// This can happen in 2 cases: 1) BT device initiated pairing and
|
||||||
// 2) disconnects of one headset that's triggered by connects of
|
// 2) disconnects of one headset that's triggered by connects of
|
||||||
// another.
|
// another.
|
||||||
|
Reference in New Issue
Block a user