summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2020-01-23 14:19:19 -0800
committerMichael Bestas <mkbestas@lineageos.org>2020-12-20 18:55:01 +0200
commit9b60a9143f369352337fd007a0a7a26638a161af (patch)
tree9111302116cf9784fed8fdb322128da0a4b67a70
parent25d691ba1a21494e84f12ffc8143ec41cee41f3a (diff)
sdm660-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 e1bcdd1..d291e50 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -352,4 +352,12 @@
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveNotificationLed">true</bool>
+
+ <!-- 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>