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

Skip to content
Commit b3dca5cc authored by Meng Wang's avatar Meng Wang
Browse files

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
parent 5d94e6cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment