aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2020-01-23 14:19:19 -0800
committerDavide Garberi <dade.garberi@gmail.com>2021-10-19 15:09:38 +0200
commit0d296fb54b3d7126d26961e607f7ff0da8a54fa0 (patch)
tree54bef54ec544aec2296d6997054076399f02ab5e
parentb82944473904bb4767efdab6d6b2e84fe42f5983 (diff)
msm8996-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 3a04c9a..9c62be6 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -445,4 +445,12 @@
<!-- Disable rounded corners on windows to improve graphics performance -->
<bool name="config_supportsRoundedCornersOnWindows">false</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>