Skip to content
Snippets Groups Projects
Commit 9fd71f8e authored by Malcolm Chen's avatar Malcolm Chen
Browse files

Fix UiccSlotInfo equals method.

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

Bug: 78033760
Test: GTS test
Change-Id: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2
Merged-In: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2
parent d27a9f44
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment