Skip to content
Commit 3a3e2240 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

8/n: Update biometric utils to have sensorId-specific files

New HAL interfaces have a strongly defined notion of sensorId whereas
existing interfaces do not. This change does the following:

1) FingerprintUtils/FaceUtils is updated to contain singleton
   instances for each sensorId. The retrieved instance is still
   a utility class for a single sensor
2) Existing devices with old HALs will continue to use
   settings_fingerprint.xml and settings_face.xml
3) Devices with new HALs will use sensorId-specific files, e.g.
   on a device where the fingerprint sensorId=0 and face sensorId=1,
   the below files will be used:
   settings_fingerprint_0.xml, settings_face_1.xml
4) Updated existing AIDL provider to use sensor-specific utils

Bug: 170497736
Test: Enrollments on existing devices not affected

Change-Id: I5c48ab927d0450820f165707d60e0710e86be5e4
parent ac6fe81d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment