aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2020-01-23 14:19:19 -0800
committerAlessandro Astone <ales.astone@gmail.com>2021-02-01 23:42:14 +0100
commit83e103c530a6c898209bfcab4436cce29cc892b2 (patch)
tree71e2ba8a0a36df817e1b735dec42cbd3b51842e9
parent3808af207bd9c1af2a4b21edbbbec6feb2c8771e (diff)
sm8250-common: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration. This change allows apps to continue to use the fingerprint sensor. Bug: 147445115 Test: Builds Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 98eb735..30733a7 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -325,4 +325,12 @@
<!-- Telephony qualified networks service package name to bind to by default. -->
<string name="config_qualified_networks_service_package">vendor.qti.iwlan</string>
+
+ <!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
+ when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
+ where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
+ and Strength as defined in Authenticators.java -->
+ <string-array name="config_biometric_sensors" translatable="false" >
+ <item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
+ </string-array>
</resources>