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

Skip to content
Commit df726dfe authored by Jun Yin's avatar Jun Yin Committed by Holly Jiuyu Sun
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
Merged-In: I6b8601c1d2edee6b385dcd8fcfaa9efb90afa11a
(cherry picked from commit e14a2bc478fadb26d75cd8ef3469c7fcd5eb51d3)
parent e409fbd1
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