Always close channel after apdu sending fails
Once in a EuiccSession, previous design depends on specific error codes to detect channel closing and only re-open channel if specific error codes returned by apdu sending. Problem is there is always some new error codes because of timing & vendor behavior. In such cases, apdu sending will be attempted without opening a new channel and hence will fail. New design will close and re-open channel when apdu sending fails, without checking the error code. This design is safer as it is same as the behavior as if not in EuiccSession. Bug: 335257880 Test: unit test, atest <path>/ApduSenderTest.java Test: manual, see b/335257880#comment53 Flag: com.android.internal.telephony.flags.optimization_apdu_sender Change-Id: I87b73bf848cd8a70cfe3ed32fd3b5df1ad3a5080
Loading
Please register or sign in to comment