summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/direct_bt/tinyb/DBTDevice.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/direct_bt/tinyb/DBTDevice.java b/java/direct_bt/tinyb/DBTDevice.java
index c021ade5..74547cef 100644
--- a/java/direct_bt/tinyb/DBTDevice.java
+++ b/java/direct_bt/tinyb/DBTDevice.java
@@ -261,7 +261,7 @@ public class DBTDevice extends DBTObject implements BluetoothDevice
return false;
}
final DBTDevice other = (DBTDevice)obj;
- return address.equals(other.address);
+ return address.equals(other.address) && addressType.equals(other.addressType);
}
@Override