Skip to content

Commit

Permalink
Merge "vibrator: Consolidate RC Files"
Browse files Browse the repository at this point in the history
  • Loading branch information
TreeHugger Robot authored and Android (Google) Code Review committed May 13, 2020
2 parents 621978f + b43f869 commit 9e48e3c
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions init.hardware.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9e48e3c

Please sign in to comment.