sm8250-common: Set gain of vibrator to 0x55 on boot
* Seems better than the default of 0x80, vibrator is a bit too strong by default. Change-Id: I676b74aac3cbc1900c73b3236879479e8ecfca00
This commit is contained in:
parent
232c213a90
commit
dba70894ea
1 changed files with 4 additions and 0 deletions
|
@ -161,6 +161,10 @@ chown system system /proc/rpmh_modem/sleepinfo
|
||||||
chmod 0660 /proc/rpmh_modem/sleepinfo
|
chmod 0660 /proc/rpmh_modem/sleepinfo
|
||||||
# endif /* VENDOR_EDIT */
|
# endif /* VENDOR_EDIT */
|
||||||
|
|
||||||
|
# Reduce default vibrator gain from 0x80 to 0x55,
|
||||||
|
# also allow gain customization via persistent property
|
||||||
|
write /sys/class/leds/vibrator/gain ${persist.vendor.vib.gain:-0x55}
|
||||||
|
|
||||||
on property:vendor.display.lcd_density=560
|
on property:vendor.display.lcd_density=560
|
||||||
setprop dalvik.vm.heapgrowthlimit 256m
|
setprop dalvik.vm.heapgrowthlimit 256m
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue