From 7eb7235c3391c139040ff1477e15be718d6f41b4 Mon Sep 17 00:00:00 2001 From: Sasha Levitskiy Date: Thu, 7 May 2015 14:40:16 -0700 Subject: [PATCH] Fingerprint: Add storage path to set_active_group() Change-Id: Ic6e7ad21cd3a253a38a6291bf08517c7e441af2b Signed-off-by: Sasha Levitskiy --- include/hardware/fingerprint.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 @@ typedef struct fingerprint_device { /* * 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 -- 2.11.0