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

Commit 212a6da4 authored by Devin Moore's avatar Devin Moore
Browse files

Specify @throws for secure_element AIDL reset() method

This was expected to return an error in the HIDL version, so we
explicitly say which it should return on failure.

Brought up in ANAPIC review in ag/21108335

Test: none
Bug: none
Change-Id: I6f183a490f91aca5e08b5ae83017e707b63268ea
parent 19dfc652
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -117,6 +117,9 @@ interface ISecureElement {
     * closed by this operation.
     * HAL service must send onStateChange() with connected equal to true
     * after resetting and all the re-initialization has been successfully completed.
     *
     * @throws ServiceSpecificException on error with the following code:
     *  - FAILED if the service was unable to reset the secure element.
     */
    void reset();