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

Commit e45fda11 authored by Holly Jiuyu Sun's avatar Holly Jiuyu Sun Committed by android-build-merger
Browse files

Merge "Add hashCode() in UiccAccessRule." am: 0da1f09f

am: ab8e1a47

Change-Id: I90525e35faf2d3bb6c142bce33e054ac76cbcba9
parents 8d03a609 ab8e1a47
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -220,6 +220,15 @@ public final class UiccAccessRule implements Parcelable {
                && mAccessType == that.mAccessType;
    }

    @Override
    public int hashCode() {
        int result = 1;
        result = 31 * result + Arrays.hashCode(mCertificateHash);
        result = 31 * result + Objects.hashCode(mPackageName);
        result = 31 * result + Objects.hashCode(mAccessType);
        return result;
    }

    @Override
    public String toString() {
        return "cert: " + IccUtils.bytesToHexString(mCertificateHash) + " pkg: " +