a7xelte: Limit the number of fingerprints to 4
authorJesse Chan <jc@linux.com>
Fri, 20 Jan 2017 13:24:11 +0000 (21:24 +0800)
committerSourajit Karmakar <sourajit.karmakar@gmail.com>
Tue, 7 Jul 2020 16:19:28 +0000 (12:19 -0400)
* FP trustlet limits the number to 4.
* framework-level limitation is also needed
  or FP trustlet would perform incorrectly
  after enrolling more than 4 fingerprints.

Change-Id: I6bfe835e113adc001c4eb3d98a2a937019e1927a

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

index d8238b64ebef0b7fd43f26dd70ac1653ef40714e..e8bce94b271d067bf4a675f6bedd4ce5a2c2c16b 100644 (file)
     <!-- Whether to post reset runnable for all clients. Needed for some older
         vendor fingerprint HAL implementations. -->
     <bool name="config_fingerprintPostResetRunnableForAllClients">true</bool>
+
+    <!-- For performance and storage reasons, limit the number of fingerprints per user -->
+    <integer name="config_fingerprintMaxTemplatesPerUser">4</integer>
 </resources>