beyond0lte: Switch to AIDL fingerprint HAL
Change-Id: Id61763bbbef2354a74a7f5ab54f1ee299d4afbe1
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 507b953..98094b9 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2021-2023 The LineageOS Project
+# Copyright (C) 2021-2024 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -27,9 +27,6 @@
## Display
TARGET_SCREEN_DENSITY := 480
-## Fingerprint
-TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
-
## Kernel
TARGET_KERNEL_CONFIG := exynos9820-beyond0lte_defconfig
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 51d84c1..bb56ce0 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -43,26 +43,6 @@
-->
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H -149 V 116 H 0 V 0 Z @right</string>
- <!-- Indicates whether device has a power button fingerprint sensor. -->
- <bool name="config_is_powerbutton_fps">true</bool>
-
- <!-- Specify if the fingerprint hardware support gestures-->
- <bool name="config_fingerprintSupportsGestures">true</bool>
-
<!-- Enable system navigation keys. -->
<bool name="config_supportSystemNavigationKeys">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>local:4633128672291735808</item> <!--item>displayId</item-->
- <item>1080</item> <!--item>sensorLocationX</item-->
- <item>265</item> <!--item>sensorLocationY</item-->
- <item>250</item> <!--item>sensorRadius</item-->
- </array>
</resources>
diff --git a/vendor.prop b/vendor.prop
index faf4ac1..399ebca 100644
--- a/vendor.prop
+++ b/vendor.prop
@@ -1,5 +1,10 @@
## Bluetooth
bluetooth.device.default_name=Galaxy S10e
+## Fingerprint
+ro.vendor.fingerprint.type=side
+ro.vendor.fingerprint.sensor_location=1080|265|250
+ro.vendor.fingerprint.supports_gestures=true
+
## RIL
ro.telephony.default_network=9,9