summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Mccloskey <joshmccloskey@google.com>2022-02-28 20:58:37 +0000
committerJoshua Mccloskey <joshmccloskey@google.com>2022-03-14 18:16:22 +0000
commitdba89696b0885505e90dad57bfcccf480bdf3d0d (patch)
tree5c03d8740bb8f299e49aa4cf257bb37f2adc0f64
parent92ffa6384e20feec6db817f3a040a8c2bf7d05e3 (diff)
Updated Face AIDL createSession docs
Test: N/A Bug: 219081263 Change-Id: I05af5a64ca9275932a026ed43e2061e7fd51d247
-rw-r--r--biometrics/face/aidl/android/hardware/biometrics/face/IFace.aidl4
1 files changed, 4 insertions, 0 deletions
diff --git a/biometrics/face/aidl/android/hardware/biometrics/face/IFace.aidl b/biometrics/face/aidl/android/hardware/biometrics/face/IFace.aidl
index 4d7e59ebb7..65c589f192 100644
--- a/biometrics/face/aidl/android/hardware/biometrics/face/IFace.aidl
+++ b/biometrics/face/aidl/android/hardware/biometrics/face/IFace.aidl
@@ -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.