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

Commit bf02452e authored by Grant Menke's avatar Grant Menke Committed by Android (Google) Code Review
Browse files

Merge "Cleanup string comparison in CallEndpoint class." into main

parents bdfb8650 5c1f88cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ public final class CallEndpoint implements Parcelable {
            return false;
        }
        CallEndpoint endpoint = (CallEndpoint) obj;
        return getEndpointName().toString().contentEquals(endpoint.getEndpointName())
        return Objects.equals(getEndpointName(), endpoint.getEndpointName())
                && getEndpointType() == endpoint.getEndpointType()
                && getIdentifier().equals(endpoint.getIdentifier());
    }