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

Commit 4018f9bb authored by Omer Ozer's avatar Omer Ozer Committed by Automerger Merge Worker
Browse files

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

parents 78076828 b8bd74f2
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());
    }
}