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

Commit 09301508 authored by Sanket Agarwal's avatar Sanket Agarwal Committed by android-build-merger
Browse files

Remove hashcode() override for Connection

am: 6b7afaa6

Change-Id: Idff494034926074f4d569f55433ddf836a5552d6
parents 52b2f37f 6b7afaa6
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ public class HfpClientConnection extends Connection {
        if (mClosed) {
            return;
        }
        Log.d(TAG, "Setting " + mCurrentCall + " to disconnected");
        Log.d(TAG, "Setting " + mCurrentCall + " to disconnected " + getTelecomCallId());
        setDisconnected(new DisconnectCause(cause));

        mClosed = true;
@@ -273,11 +273,6 @@ public class HfpClientConnection extends Connection {
        return getAddress() == otherAddr || otherAddr != null && otherAddr.equals(getAddress());
    }

    @Override
    public int hashCode() {
        return getAddress() == null ? 0 : getAddress().hashCode();
    }

    @Override
    public String toString() {
        return "HfpClientConnection{" + getAddress() + "," + stateToString(getState()) + "," +