Send correct envelope for CarrierApiTest.
CarrierApiTest#testSendEnvelopeWithStatus verifies that
TelephonyManager#sendEnvelopeWithStatus can correctly send an envelope
to the UICC. Currently, the envelope is formatted as a hex-String
ENVELOPE apdu wrapping a STATUS apdu. Instead, the envelope should only
be the STATUS apdu.
Different SIM vendor OSs may send different response bytes for the
envelope-wrapped STATUS apdu. Instead of checking for all possible
response words defined in TS 102 221, let's check that the response is
non-null for now.
Bug: 137887754
Test: atest CarrierApiTest
Merged-In: Ieb046b60a2d229cee3a46961f37c8d8bece8c2fb
Change-Id: Ieb046b60a2d229cee3a46961f37c8d8bece8c2fb
(cherry picked from commit d906937d9b94ad56bb0e079554cd8d2bf2ca53d0)
1 file changed