tri-state-key-calibrate: nuke since already added by hardware/oplus/KeyHandler @ LineageOS

Signed-off-by: Onelots <onelots@onelots.fr>
This commit is contained in:
2025-01-22 16:56:10 +01:00
parent a7c801403c
commit 7c8ee0e5c3
3 changed files with 0 additions and 21 deletions

View File

@@ -40,9 +40,3 @@ java_import {
],
}
sh_binary {
name: "tri-state-key-calibrate",
init_rc: ["tri-state-key-calibrate.rc"],
src: "tri-state-key-calibrate.sh",
vendor: true,
}

View File

@@ -1,9 +0,0 @@
service vendor.tri-state-key-calibrate /vendor/bin/tri-state-key-calibrate
class main
user system
group system
oneshot
disabled
on post-fs-data
start vendor.tri-state-key-calibrate

View File

@@ -1,6 +0,0 @@
#!/vendor/bin/sh
if [[ -f /mnt/vendor/persist/engineermode/tri_state_hall_data ]]; then
CALIBRATION_DATA="$(cat /mnt/vendor/persist/engineermode/tri_state_hall_data)"
CALIBRATION_DATA="${CALIBRATION_DATA//;/,}"
echo -n $CALIBRATION_DATA > /proc/tristatekey/hall_data_calib
fi