raphael: Support UDFPS on AoD

Change-Id: I7196dce967c9adbc62bb5156ade749c92c7780a1
This commit is contained in:
Cosmin Tanislav
2024-10-28 22:07:01 +01:00
committed by firebird11
parent 2e8f89749e
commit a152aec467
2 changed files with 5 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ from extract_utils.main import (
blob_fixups: blob_fixups_user_type = {
'vendor/etc/init/init.batterysecret.rc': blob_fixup()
.regex_replace('.*seclabel u:r:batterysecret:s0\n', ''),
'vendor/etc/sensors/hals.conf': blob_fixup()
.add_line_if_missing('sensors.udfps.so'),
'vendor/lib/hw/audio.primary.raphael.so': blob_fixup()
.binary_regex_replace(
b'/vendor/lib/liba2dpoffload.so',

View File

@@ -357,4 +357,7 @@
For this time after the screen turns on, the Power Manager
will not debounce light sensor readings -->
<integer name="config_lightSensorWarmupTime">200</integer>
<!-- Type of the udfps long press sensor. Empty if long press is not supported. -->
<string name="config_dozeUdfpsLongPressSensorType" translatable="false">org.lineageos.sensor.udfps</string>
</resources>