Display: Change permission to access ssc mode
For RadioExt to write to ssc_mode Bug: 285492958 Test: verify on sysfs node Change-Id: I8d4f3f2ea6a7dfaf29f64f811c489fcab56dc269
This commit is contained in:
parent
a39ac67a82
commit
b5a856fd46
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ on init
|
||||||
setprop persist.vendor.nfc.streset libstreset23
|
setprop persist.vendor.nfc.streset libstreset23
|
||||||
setprop persist.vendor.se.streset libstreset23
|
setprop persist.vendor.se.streset libstreset23
|
||||||
|
|
||||||
|
# Display permissions 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
|
on early-boot
|
||||||
# Wait for insmod_sh to finish all common modules
|
# Wait for insmod_sh to finish all common modules
|
||||||
wait_for_prop vendor.common.modules.ready 1
|
wait_for_prop vendor.common.modules.ready 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue