Skip to content

Commit 08d7051

Browse files
committed
overlay: explictly specify biometric sensor config
fixes biometric authentification Signed-off-by: DennySPb <[email protected]> Change-Id: I87cb62ba6997301c84a61a016d7819a906bd8433
1 parent 45e7ff6 commit 08d7051

File tree

1 file changed

+10
-0
lines changed
  • overlay/frameworks/base/core/res/res/values

1 file changed

+10
-0
lines changed

overlay/frameworks/base/core/res/res/values/config.xml

+10
Original file line numberDiff line numberDiff line change
@@ -1082,4 +1082,14 @@
10821082

10831083
<!-- Defines custom Vendor sensor for pocket detection. -->
10841084
<string name="config_pocketJudgeVendorSensorName">oneplus.sensor.pocket</string>
1085+
1086+
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
1087+
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
1088+
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
1089+
and Strength as defined in Authenticators.java -->
1090+
<string-array name="config_biometric_sensors" translatable="false" >
1091+
<!-- ID0:Fingerprint:Strong -->
1092+
<item>0:2:15</item>
1093+
</string-array>
1094+
10851095
</resources>

0 commit comments

Comments
 (0)