I can confirm that it works as expected:
- Initial situation - slot 1: regular SIM, slot 2 eSIM
LPAC_APDU=gbinder lpac profile list
Attempting to connect to android.hardware.radio@1.0::IRadio/slot1
Failed to open APDU logical channel: 17
Attempting to connect to android.hardware.radio@1.0::IRadio/slot2
opened logical channel id: 1
{“type”:“lpa”,“payload”:{“code”:0,“message”:“success”,“data”:[{“iccid”: …
LPAC_APDU=gbinder LPAC_APDU_GBINDER_UIM_SLOT=1 lpac profile list
Attempting to connect to android.hardware.radio@1.0::IRadio/slot1
Failed to open APDU logical channel: 17
{“type”:“lpa”,“payload”:{“code”:-1,“message”:“euicc_init”,“data”:“”}}
LPAC_APDU=gbinder LPAC_APDU_GBINDER_UIM_SLOT=2 lpac profile list
Attempting to connect to android.hardware.radio@1.0::IRadio/slot2
opened logical channel id: 1
{“type”:“lpa”,“payload”:{“code”:0,“message”:“success”,“data”:[{“iccid”: …
- SIM cards swap - slot 1: eSIM, slot 2 regular SIM
LPAC_APDU=gbinder lpac profile list
Attempting to connect to android.hardware.radio@1.0::IRadio/slot1
opened logical channel id: 1
{“type”:“lpa”,“payload”:{“code”:0,“message”:“success”,“data”:[{“iccid”: …
LPAC_APDU=gbinder LPAC_APDU_GBINDER_UIM_SLOT=1 lpac profile list
Attempting to connect to android.hardware.radio@1.0::IRadio/slot1
opened logical channel id: 1
{“type”:“lpa”,“payload”:{“code”:0,“message”:“success”,“data”:[{“iccid”:" …
LPAC_APDU=gbinder LPAC_APDU_GBINDER_UIM_SLOT=2 lpac profile list
Attempting to connect to android.hardware.radio@1.0::IRadio/slot2
Failed to open APDU logical channel: 38
{“type”:“lpa”,“payload”:{“code”:-1,“message”:“euicc_init”,“data”:“”}}
- SIM cards swap back - slot 1: regular SIM, slot 2 eSIM
(stopped showing profiles entirely)
LPAC_APDU=gbinder lpac profile list
Attempting to connect to android.hardware.radio@1.0::IRadio/slot1
Failed to open APDU logical channel: 17
Attempting to connect to android.hardware.radio@1.0::IRadio/slot2
Failed to open APDU logical channel: 38
{“type”:“lpa”,“payload”:{“code”:-1,“message”:“euicc_init”,“data”:“”}}
LPAC_APDU=gbinder LPAC_APDU_GBINDER_UIM_SLOT=1 lpac profile list
Attempting to connect to android.hardware.radio@1.0::IRadio/slot1
Failed to open APDU logical channel: 17
{“type”:“lpa”,“payload”:{“code”:-1,“message”:“euicc_init”,“data”:“”}}
LPAC_APDU=gbinder LPAC_APDU_GBINDER_UIM_SLOT=2 lpac profile list
Attempting to connect to android.hardware.radio@1.0::IRadio/slot2
Failed to open APDU logical channel: 38
{“type”:“lpa”,“payload”:{“code”:-1,“message”:“euicc_init”,“data”:“”}}
A reboot of the phone was required to restore it to state 1.