diff options
-rw-r--r-- | core/java/android/server/BluetoothService.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/server/BluetoothService.java b/core/java/android/server/BluetoothService.java index dfb775f..aa20ac4 100644 --- a/core/java/android/server/BluetoothService.java +++ b/core/java/android/server/BluetoothService.java @@ -136,6 +136,14 @@ public class BluetoothService extends IBluetooth.Stub { } return false; } + + @Override + public int hashCode() { + int hash = 1; + hash = hash * 31 + (address == null ? 0 : address.hashCode()); + hash = hash * 31 + (uuid == null ? 0 : uuid.hashCode()); + return hash; + } } static { |