summaryrefslogtreecommitdiff
path: root/init.hardware.rc
diff options
context:
space:
mode:
authorHarpreet \"Eli\" Sangha <eliptus@google.com>2020-05-08 14:20:42 +0900
committerHarpreet "Eli" Sangha <eliptus@google.com>2020-05-12 03:18:24 +0000
commitb43f869ff0e4545ec04535a043123771d75aaa6b (patch)
tree12fbd7349cb0d6122b3b208729468eff24b43de4 /init.hardware.rc
parent1062a774ef81532912d312fd91937d7487f32e84 (diff)
vibrator: Consolidate RC Files
Bug: 156314892 Test: Manual, PTS, VTS, Unit Test Change-Id: Ie78f1a62c8bdacc9449067c9a88ef31cb8f9b3da Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
Diffstat (limited to 'init.hardware.rc')
-rw-r--r--init.hardware.rc18
1 files changed, 0 insertions, 18 deletions
diff --git a/init.hardware.rc b/init.hardware.rc
index 40586938..b4ab80cf 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -317,11 +317,6 @@ on zygote-start
chown media audio /mnt/vendor/persist/audio
chown audioserver audio /mnt/vendor/persist/audio/audio.cal
- chmod 770 /mnt/vendor/persist/haptics
- chmod 440 /mnt/vendor/persist/haptics/drv2624.cal
- chown system system /mnt/vendor/persist/haptics
- chown system system /mnt/vendor/persist/haptics/drv2624.cal
-
# Mark the copy complete flag to not completed
write /data/vendor/radio/copy_complete 0
chown radio radio /data/vendor/radio/copy_complete
@@ -372,19 +367,6 @@ on early-boot
chown cameraserver camera /dev/vd6281
chmod 0660 /dev/vd6281
- # Permission for Vibrator
- chown system system /sys/class/leds/vibrator/device/mode
- chown system system /sys/class/leds/vibrator/device/od_clamp
- chown system system /sys/class/leds/vibrator/device/rtp_input
- chown system system /sys/class/leds/vibrator/device/scale
- chown system system /sys/class/leds/vibrator/device/set_sequencer
- chown system system /sys/class/leds/vibrator/device/autocal_result
- chown system system /sys/class/leds/vibrator/device/ctrl_loop
- chown system system /sys/class/leds/vibrator/device/ol_lra_period
- chown system system /sys/class/leds/vibrator/device/autocal
- chown system system /sys/class/leds/vibrator/device/lp_trigger_effect
- chown system system /sys/class/leds/vibrator/device/lra_wave_shape
-
# Permission for LED driver
chown system system /sys/class/leds/red/on_off_ms
chown system system /sys/class/leds/green/on_off_ms