Fix UiccSlotInfo equals method.

In UiccSlotInfo#equals method, it's comparing Strings incorrectly.

Bug: 78033760
Test: GTS test
Change-Id: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2
Merged-In: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2
This commit is contained in:
Malcolm Chen
2018-04-13 19:33:08 -07:00
parent d27a9f4465
commit 9fd71f8ec5

View File

@@ -148,7 +148,7 @@ public class UiccSlotInfo implements Parcelable {
UiccSlotInfo that = (UiccSlotInfo) obj;
return (mIsActive == that.mIsActive)
&& (mIsEuicc == that.mIsEuicc)
&& (mCardId == that.mCardId)
&& (Objects.equals(mCardId, that.mCardId))
&& (mCardStateInfo == that.mCardStateInfo)
&& (mLogicalSlotIdx == that.mLogicalSlotIdx)
&& (mIsExtendedApduSupported == that.mIsExtendedApduSupported);