From 3f316fe93d241ddce65722cce278e9b4bef393e4 Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 28 Jul 2024 17:56:22 +0200 Subject: [PATCH] zeus: Drop xiaomi citsensorservice and enable light sensor notifier Change-Id: I896f31b925976bbe51d42a7c39d698793fba6cd7 --- extract-files.sh | 3 --- properties/vendor.prop | 1 + proprietary-files.txt | 11 ----------- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 87ed11f..f28352b 100644 --- a/extract-files.sh +++ b/extract-files.sh @@ -17,9 +17,6 @@ function blob_fixup() { vendor/etc/init/hw/init.batterysecret.rc) sed -i 's/on charger/on property:init.svc.vendor.charger=running/g' "${2}" ;; - vendor/lib/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so|vendor/lib64/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so) - sed -i 's/_ZN13DisplayConfig10ClientImpl13ClientImplGetENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE/_ZN13DisplayConfig10ClientImpl4InitENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0/g' "${2}" - ;; esac } diff --git a/properties/vendor.prop b/properties/vendor.prop index 7d99bf2..7d488b4 100644 --- a/properties/vendor.prop +++ b/properties/vendor.prop @@ -1,2 +1,3 @@ # Sensors +ro.vendor.sensors.notifier.light_sensors.primary=5,33171089 ro.vendor.sensors.xiaomi.udfps=true diff --git a/proprietary-files.txt b/proprietary-files.txt index 496fd64..e796156 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1161,17 +1161,6 @@ vendor/etc/sensors/config/tmd3719.json vendor/etc/sensors/sensorDisplayMap.json vendor/etc/sensors/sns_reg_config -# Sensors - CIT -vendor/bin/hw/vendor.xiaomi.sensor.citsensorservice@2.0-service -vendor/etc/init/vendor.xiaomi.sensor.citsensorservice@2.0-service.rc -vendor/etc/vintf/manifest/vendor.xiaomi.sensor.citsensorservice@2.0-service.xml -vendor/lib/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so -vendor/lib/vendor.xiaomi.sensor.citsensorservice@1.1.so -vendor/lib/vendor.xiaomi.sensor.citsensorservice@2.0.so -vendor/lib64/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so -vendor/lib64/vendor.xiaomi.sensor.citsensorservice@1.1.so -vendor/lib64/vendor.xiaomi.sensor.citsensorservice@2.0.so - # Sensors - SSC calibration -vendor/lib/libssccalapi@2.0.so -vendor/lib64/libssccalapi@2.0.so