mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
bauth: Add enumerate function
Change-Id: I452a651b2a1b11d3619ecde50f448812bf032b66
This commit is contained in:
parent
cc332be885
commit
7fab893082
1 changed files with 6 additions and 0 deletions
|
@ -163,6 +163,11 @@ static int set_notify_callback(struct fingerprint_device *dev, fingerprint_notif
|
|||
return bauth_handle->ss_set_notify_callback(hal_notify_convert);
|
||||
}
|
||||
|
||||
static int enumerate(struct fingerprint_device *dev __unused)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
static int fingerprint_open(const hw_module_t* module, const char *id, hw_device_t** device)
|
||||
{
|
||||
int ret;
|
||||
|
@ -198,6 +203,7 @@ static int fingerprint_open(const hw_module_t* module, const char *id, hw_device
|
|||
dev->set_active_group = fingerprint_set_active_group;
|
||||
dev->authenticate = fingerprint_authenticate;
|
||||
dev->set_notify = set_notify_callback;
|
||||
dev->enumerate = enumerate;
|
||||
dev->notify = NULL;
|
||||
|
||||
*device = (hw_device_t*) dev;
|
||||
|
|
Loading…
Reference in a new issue