Loading telephony/java/android/telephony/UiccAccessRule.java +9 −0 Original line number Original line Diff line number Diff line Loading @@ -220,6 +220,15 @@ public final class UiccAccessRule implements Parcelable { && mAccessType == that.mAccessType; && 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 @Override public String toString() { public String toString() { return "cert: " + IccUtils.bytesToHexString(mCertificateHash) + " pkg: " + return "cert: " + IccUtils.bytesToHexString(mCertificateHash) + " pkg: " + Loading Loading
telephony/java/android/telephony/UiccAccessRule.java +9 −0 Original line number Original line Diff line number Diff line Loading @@ -220,6 +220,15 @@ public final class UiccAccessRule implements Parcelable { && mAccessType == that.mAccessType; && 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 @Override public String toString() { public String toString() { return "cert: " + IccUtils.bytesToHexString(mCertificateHash) + " pkg: " + return "cert: " + IccUtils.bytesToHexString(mCertificateHash) + " pkg: " + Loading