blob: a0910d2b7c76823639520ac0af07415ca1e449f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
on late-init
chown system system /sys/class/qcom-haptics/primitive_duration
chmod 0600 /sys/class/qcom-haptics/primitive_duration
service vendor.qti.vibrator /vendor/bin/hw/vendor.qti.hardware.vibrator.service
class hal
user system
group system input
on early-boot && property:vendor.all.modules.ready=1
write /sys/class/leds/vibrator/trigger "transient"
on boot && property:vendor.all.modules.ready=1
chown system system /sys/class/leds/vibrator/trigger
chown system system /sys/class/leds/vibrator/activate
chown system system /sys/class/leds/vibrator/brightness
chown system system /sys/class/leds/vibrator/duration
chown system system /sys/class/leds/vibrator/state
|