OSDN Git Service

Fingerprint: Add storage path to set_active_group()
authorSasha Levitskiy <sanek@google.com>
Thu, 7 May 2015 21:40:16 +0000 (14:40 -0700)
committerSasha Levitskiy <sanek@google.com>
Fri, 8 May 2015 02:25:00 +0000 (19:25 -0700)
Change-Id: Ic6e7ad21cd3a253a38a6291bf08517c7e441af2b
Signed-off-by: Sasha Levitskiy <sanek@google.com>
include/hardware/fingerprint.h

index 552b5d7..0598d9f 100644 (file)
@@ -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