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:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user