aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamii Ahmed <ramy@ahmedramy.com>2022-04-30 19:02:03 +0000
committerRamii Ahmed <ramy@ahmedramy.com>2022-05-23 17:19:31 +0000
commitca5e874170f9844edac60355013294e7eff1510d (patch)
tree7d0cd66e4a62eab348c0e1428fb0426607fb6ebd
parentc1570cd3da3b10fa7c2da8bef6f8512d99e12c23 (diff)
veux: overlay: set side FPS properties
* Don't set displayID as it's display-independent
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml15
1 files changed, 15 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 a63f7bf..0749e77 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -356,4 +356,19 @@
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps" translatable="false" >true</bool>
+
+ <!-- An array of arrays of side fingerprint sensor properties relative to each display.
+ Note: this value is temporary and is expected to be queried directly
+ from the HAL in the future. -->
+ <array name="config_sfps_sensor_props" translatable="false">
+ <item>@array/config_sfps_sensor_props_0</item>
+ </array>
+
+ <array name="config_sfps_sensor_props_0" translatable="false">
+ <item></item> <!--item>displayId</item-->
+ <item>1080</item> <!--item>sensorLocationX</item-->
+ <item>920</item> <!--item>sensorLocationY</item-->
+ <item>200</item> <!--item>sensorRadius</item-->
+ </array>
+
</resources>