summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2016-06-14 23:52:03 +0000
committerJim Miller <jaggies@google.com>2016-06-14 23:52:23 +0000
commite453c5212ae0f0de3b2fc16b67f14e6bd06a8ce1 (patch)
treef012248de0ac2b9caae70e0731b990b4aae1bdae
parent7dde9350e61acf97b98e9078972548f07e6a9400 (diff)
downloadlibhardware-nougat-dev.tar.gz
Revert "Fingerprint: Add an API to support throttling."nougat-dev
This reverts commit 7e9204a954deeeb6c2fad6752b87af0638ef0d5d. Fixes bug 29248095 Change-Id: I60ce4dd96affbc263a14921cbdda59df7e7a65f4
-rw-r--r--include/hardware/fingerprint.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/hardware/fingerprint.h b/include/hardware/fingerprint.h
index b5677329..618ca7ea 100644
--- a/include/hardware/fingerprint.h
+++ b/include/hardware/fingerprint.h
@@ -50,7 +50,6 @@ typedef enum fingerprint_error {
FINGERPRINT_ERROR_NO_SPACE = 4, /* No space available to store a template */
FINGERPRINT_ERROR_CANCELED = 5, /* The current operation can't proceed. See above. */
FINGERPRINT_ERROR_UNABLE_TO_REMOVE = 6, /* fingerprint with given id can't be removed */
- FINGERPRINT_ERROR_LOCKOUT = 7, /* the functionality is temporarily locked out */
FINGERPRINT_ERROR_VENDOR_BASE = 1000 /* vendor-specific error messages start here */
} fingerprint_error_t;
@@ -251,16 +250,8 @@ typedef struct fingerprint_device {
*/
int (*authenticate)(struct fingerprint_device *dev, uint64_t operation_id, uint32_t gid);
- /*
- * Resets a lockout by providing a valid hardware authentication token.
- *
- * Function return: 0 on success
- * or a negative number in case of error, generally from the errno.h set.
- */
- int (*reset_lockout)(struct fingerprint_device *dev, const hw_auth_token_t *hat);
-
/* Reserved for backward binary compatibility */
- void *reserved[3];
+ void *reserved[4];
} fingerprint_device_t;
typedef struct fingerprint_module {