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
This commit is contained in:
Devin Moore
2023-03-22 19:52:23 +00:00
parent 19dfc6525c
commit 212a6da42c

View File

@@ -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();