implemented enumerate method in fingerprintservice

fixes bug 35358801
Test: ran enumeration in template with
1) more fingerprints in fingerprintd
2) more fingerprints in framework
3) no fingerprints in fingerprintd, but fingerprints in framework
4) no fingerprints in framework, but fingerprints in fingerprintd

Change-Id: Id150f0225d597939cf1af6bac218fe0fdeeca93d
This commit is contained in:
Kevin Chyn 2017-02-14 14:45:04 -08:00
parent 4f24afa81f
commit ba8e932d1f

View file

@ -215,7 +215,8 @@ typedef struct fingerprint_device {
* fingerprint_msg.data.enumerated.finger indicating a template id
* fingerprint_msg.data.enumerated.remaining_templates indicating how many more
* enumeration messages to expect.
*
* Note: If there are no fingerprints, then this should return 0 and the first fingerprint
* enumerated should have fingerid=0 and remaining=0
* Function return: 0 if enumerate request is accepted
* or a negative number in case of error, generally from the errno.h set.
*/