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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user