Fingerprint: Add storage path to set_active_group()
Change-Id: Ic6e7ad21cd3a253a38a6291bf08517c7e441af2b
Signed-off-by: Sasha Levitskiy <sanek@google.com>
diff --git a/include/hardware/fingerprint.h b/include/hardware/fingerprint.h
index 552b5d7..0598d9f 100644
--- a/include/hardware/fingerprint.h
+++ b/include/hardware/fingerprint.h
@@ -193,12 +193,15 @@
/*
* Restricts the HAL operation to a set of fingerprints belonging to a
- * group provided. Gid of 0 signals global operation.
+ * group provided.
+ * The caller must provide a path to a storage location within the user's
+ * data directory.
*
* Function return: 0 on success
* -1 if the group does not exist.
*/
- int (*set_active_group)(struct fingerprint_device *dev, uint32_t gid);
+ int (*set_active_group)(struct fingerprint_device *dev, uint32_t gid,
+ const char *store_path);
/*
* Authenticates an operation identifed by operation_id