Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e114d1c8 authored by Muralidhar Reddy's avatar Muralidhar Reddy
Browse files

[MEP] switchToSubscription with portIndex is failed.

This issue has two parts.
1. Target port validation is getting failed when the device is in SS pSIM Mode and the app calls switchToSubscription with portIndex.
2. Platform is sending the wrong slotId to LPA through EuiccConnector.

In above two cases retrieving slotIndex from cardId is failed as we are using UiccCardInfo which has cardId as TelephonyManager#UNINITIALIZED_CARD_ID. As per UiccController, UiccCardInfo will have proper eSIM cardId only when the UiccCard is created. So modified logic to use UiccSlotInfo to retrieve the slotIndex.

Bug: 222680507
Test: Manually tested on sunfish device and atest FrameworksTelephonyTests:EuiccControllerTest
Change-Id: Ib5802c97a430974b039437cafc7453f19acfcd0f
parent 6d873e6b
Loading
Loading
Loading
Loading
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