update ssc_en permission
Bug: 322125172 Test: RIL can access the sysfs node Change-Id: I970c7b8f96b02c0164d1d94e902072b31b47e0dd
This commit is contained in:
parent
015e600737
commit
7c41b4950d
2 changed files with 10 additions and 4 deletions
|
@ -14,10 +14,6 @@ on init
|
|||
on late-init && property:ro.boot.hardware.revision=PROTO1.0
|
||||
setprop persist.vendor.se.reset.chip_en false
|
||||
|
||||
# Display permission for SSC mode
|
||||
chown system system /sys/class/backlight/panel0-backlight/ssc_mode
|
||||
chmod 664 /sys/class/backlight/panel0-backlight/ssc_mode
|
||||
|
||||
on early-boot
|
||||
# Wait for insmod_sh to finish all common modules
|
||||
wait_for_prop vendor.common.modules.ready 1
|
||||
|
@ -38,6 +34,10 @@ on property:vendor.mfgapi.touchpanel.permission=1
|
|||
on fs
|
||||
chown system system /sys/class/backlight/panel0-backlight/acl_mode
|
||||
|
||||
# Permission for SSC mode enable
|
||||
chown system system /sys/class/backlight/panel0-backlight/ssc_en
|
||||
chmod 664 /sys/class/backlight/panel0-backlight/ssc_en
|
||||
|
||||
# WiFi
|
||||
on post-fs-data
|
||||
setprop wifi.direct.interface p2p-dev-wlan0
|
||||
|
|
|
@ -67,3 +67,9 @@ on property:sys.boot_completed=1
|
|||
chown system input /dev/touch_offload
|
||||
chmod 660 /dev/touch_offload
|
||||
start twoshay
|
||||
|
||||
# Permissions for display
|
||||
on fs
|
||||
# Permission for SSC mode enable
|
||||
chown system system /sys/class/backlight/panel0-backlight/ssc_en
|
||||
chmod 664 /sys/class/backlight/panel0-backlight/ssc_en
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue