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

Skip to content
Commit 6a1e580a authored by Jun Yin's avatar Jun Yin
Browse files

Support stopping sending remaining APDUs

ApduSender supports sending a bunch of APDUs together until any APDU
command returns an error (i.e., the reponse status is neither 9000 nor
91xx). There is a case in SGP22 v2.2 that when loading a BPP, the
installation result may be returned early with 9000 for an error (e.g.,
insufficient memory). ApduSender should allow the caller to check the
intermediate result to stop sending remaining APDUs and return early.

Bug: 131114807
Test: unit test
Change-Id: I6b8601c1d2edee6b385dcd8fcfaa9efb90afa11a
parent 4a3ddadc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment