f62: Switch to AIDL fingerprint HAL
Change-Id: Ic5bb3ed213bbdfe147c863aa7258bde4731e06dd
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 7eabef8..ff64c24 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 := 450
-## Fingerprint
-TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
-
## Kernel
TARGET_KERNEL_CONFIG := exynos9820-f62_defconfig
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index da5a3fd..81c9eb8 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -43,29 +43,9 @@
-->
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H -62 V 92 H 62 V 0 H 0 Z</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>800</item> <!--item>sensorLocationY</item-->
- <item>350</item> <!--item>sensorRadius</item-->
- </array>
-
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
diff --git a/vendor.prop b/vendor.prop
index 8455a82..b3d9d1b 100644
--- a/vendor.prop
+++ b/vendor.prop
@@ -1,6 +1,11 @@
## Bluetooth
bluetooth.device.default_name=Galaxy F62
+## Fingerprint
+ro.vendor.fingerprint.type=side
+ro.vendor.fingerprint.sensor_location=1080|800|350
+ro.vendor.fingerprint.supports_gestures=true
+
## RIL
ro.telephony.default_network=9,9