diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2009-08-19 12:25:37 -0700 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2009-08-19 12:25:37 -0700 |
commit | 53121cf110f358c30ea39224bc3ff0f4c1b56e3f (patch) | |
tree | 88084c9836d3c2efbb1f9a65f19244647b1670a4 | |
parent | 2c9b21f048303469f040f30ec386e9ba25930ee9 (diff) | |
download | packages_apps_Settings-53121cf110f358c30ea39224bc3ff0f4c1b56e3f.zip packages_apps_Settings-53121cf110f358c30ea39224bc3ff0f4c1b56e3f.tar.gz packages_apps_Settings-53121cf110f358c30ea39224bc3ff0f4c1b56e3f.tar.bz2 |
Fix device address check when profile state changes.
-rw-r--r-- | src/com/android/settings/bluetooth/CachedBluetoothDevice.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/bluetooth/CachedBluetoothDevice.java b/src/com/android/settings/bluetooth/CachedBluetoothDevice.java index a4e3004..d13f77c 100644 --- a/src/com/android/settings/bluetooth/CachedBluetoothDevice.java +++ b/src/com/android/settings/bluetooth/CachedBluetoothDevice.java @@ -231,7 +231,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> BluetoothJob job = workQueue.peek(); if (job == null) { 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 // 2) disconnects of one headset that's triggered by connects of // another. |