mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user