diff options
author | Kevin Chyn <kchyn@google.com> | 2020-10-14 12:08:43 -0700 |
---|---|---|
committer | Kevin Chyn <kchyn@google.com> | 2020-10-14 13:18:44 -0700 |
commit | 3a3e22409a659b54c80136d3aeed898130efde7f (patch) | |
tree | b83ff5dcbcafc995fbadb70f3b8ab080342cd7d5 /rs/java/android/renderscript/ProgramStore.java | |
parent | ac6fe81d05a4a039efb1c9408b00be4d54d2cb3c (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions