Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41207b6e authored by Kenny Root's avatar Kenny Root Committed by Android (Google) Code Review
Browse files

Merge "Add hashCode() to BluetoothService$RemoteService"

parents 872e664c 5f614163
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 {