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

Commit b8bd74f2 authored by Omer Ozer's avatar Omer Ozer Committed by Android (Google) Code Review
Browse files

Merge "Add equals-hash methods for credesc" into udc-dev

parents 72546d9c ae23fac7
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -151,16 +151,4 @@ public final class CredentialDescription implements Parcelable {
    public List<CredentialEntry> getCredentialEntries() {
        return mCredentialEntries;
    }

    @Override
    public int hashCode() {
        return Objects.hash(mType, mFlattenedRequestString);
    }

    @Override
    public boolean equals(Object obj) {
        return Objects.equals(mType, ((CredentialDescription) obj).getType())
                && Objects.equals(mFlattenedRequestString, ((CredentialDescription) obj)
                .getFlattenedRequestString());
    }
}