Loading
Close logical channels when EuiccService impl app crashes / is unbound.
EuiccService implementation app can crash and individual endSession() calls won't happen in EuiccConnector. This CL adds endAllSessions() to EuiccSession to close all logical channels in such cases. For normal unbinding, also call endAllSessions() as a defense of unexpected lingering sessions. Flag: com.android.internal.telephony.flags.optimization_apdu_sender Bug: 335257880 Test: unit test Test: manual, make LPA crash in esim download and verify channel closed. Also keep device idle to verify unbind(). See b/335257880#comment27 Change-Id: Id42c9fca1567a2c861ec4abc0f9d2ae1e8a0e494