summaryrefslogtreecommitdiffstats
path: root/modules/fingerprint
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2015-03-24 19:25:47 -0700
committerJim Miller <jaggies@google.com>2015-03-24 19:27:57 -0700
commit1fb1e33454467b44f5e370454dec2c6caccc58a2 (patch)
tree3cf840e76b6200715ba74322d580b3e275081e1e /modules/fingerprint
parent147814cd4c2231400aa6a2ea633f7c342498bc7d (diff)
downloadhardware_libhardware-1fb1e33454467b44f5e370454dec2c6caccc58a2.zip
hardware_libhardware-1fb1e33454467b44f5e370454dec2c6caccc58a2.tar.gz
hardware_libhardware-1fb1e33454467b44f5e370454dec2c6caccc58a2.tar.bz2
Update fingerprint.h for new API
This adds vendor-specific messaging capabilities to the HAL driver to avoid the possibility of vendors clobbering general-purpose methods. The framework translates these additional messages as an offset into a custom message array. Additionally, authenticate() now takes a group id to restrict authentication to a subset of possible fingerprints. Bug 16487912 Change-Id: I8a92a6c86b4729af03a5576b4a150b1c73fbc9cc
Diffstat (limited to 'modules/fingerprint')
-rw-r--r--modules/fingerprint/fingerprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fingerprint/fingerprint.c b/modules/fingerprint/fingerprint.c
index 091d7ba..0f11954 100644
--- a/modules/fingerprint/fingerprint.c
+++ b/modules/fingerprint/fingerprint.c
@@ -53,7 +53,7 @@ static int fingerprint_set_active_group(struct fingerprint_device __unused *dev,
}
static int fingerprint_authenticate(struct fingerprint_device __unused *dev,
- uint64_t __unused operation_id) {
+ uint64_t __unused operation_id, __unused uint32_t gid) {
return FINGERPRINT_ERROR;
}