[MEP] The subscriptionInfo's getSimSlotIndex is logical slotId

1. The subscriptionInfo's getSimSlotIndex is logical slotId. The code
   should compare it with uiccSlotMapping.getLogicalSlotIndex()
2. Rename the parameters for the readability.
3. The mobile network selection dialog did not be closed after user clicked.

Bug: 219951253
Test: manual test.
Change-Id: I7fef78547f4e6283791cd15a03275eaefeb50e3c
(cherry picked from commit 181f8179f1)
This commit is contained in:
SongFerngWang
2022-02-18 19:29:16 +08:00
committed by SongFerng Wang
parent 8f84e7a9e7
commit e90d80cc52
4 changed files with 46 additions and 55 deletions

View File

@@ -116,6 +116,7 @@ public class SimListDialogFragment extends SimDialogFragment {
final SimDialogActivity activity = (SimDialogActivity) getActivity();
activity.onSubscriptionSelected(getDialogType(), subId);
}
dismiss();
}
protected List<SubscriptionInfo> getCurrentSubscriptions() {