diff options
author | Tommy Webb <tommy@calyxinstitute.org> | 2023-05-16 15:54:18 -0400 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2024-01-04 05:40:50 +0800 |
commit | bc472332d686f4946aa2d42cf83ca6b1990b0d7b (patch) | |
tree | 887032f5ba835d35f006b299d87e024ed59682fc | |
parent | b700144ed837d606d5ae78d57e7adfde55ab3fba (diff) |
pantah: Limit max fingerprints to 4 per user
Trying to add more than 4 fingerprints per user causes the Udfps
overlay to not appear and shows the following message in logs:
`E Biometrics/EnrollClient: Reached enrollment limit`.
Issue: calyxos#1630
Change-Id: I26707d5b50b28d032b117e22ba703c5fc0dfe3a2
-rw-r--r-- | overlay-ice/frameworks/base/core/res/res/values/config.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/overlay-ice/frameworks/base/core/res/res/values/config.xml b/overlay-ice/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..863c1e6 --- /dev/null +++ b/overlay-ice/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright 2021 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <integer name="config_fingerprintMaxTemplatesPerUser">4</integer> +</resources> |