Updated Face AIDL createSession docs

Test: N/A
Bug: 219081263
Change-Id: I05af5a64ca9275932a026ed43e2061e7fd51d247
This commit is contained in:
Joshua Mccloskey
2022-02-28 20:58:37 +00:00
parent 92ffa6384e
commit dba89696b0

View File

@@ -46,6 +46,10 @@ interface IFace {
* vold_prepare_subdirs.cpp). Implementations may store additional user-specific data, such as
* embeddings or templates, in StrongBox.
*
* During create session it is expected that the HAL will call linkToDeath with the callee's
* binder token. The recommended implementation is to close this session if the callee dies,
* to prevent subsequent createSession calls from failing.
*
* @param sensorId The sensorId for which this session is being created.
* @param userId The userId for which this session is being created.
* @param cb A callback to notify the framework about the session's events.