Configure permission for AOC UDFPS sysfs node.
Bug: 205242782 Bug: 215044794 Test: Verify system process can read/write to the node. Change-Id: Iecadeb47e08abf300ccd93eb8e95c91eb3195fd2
This commit is contained in:
parent
a398ee823c
commit
0567190969
1 changed files with 8 additions and 0 deletions
|
@ -671,6 +671,14 @@ on property:sys.boot_completed=1
|
||||||
chown root system /sys/devices/platform/19000000.aoc/reset
|
chown root system /sys/devices/platform/19000000.aoc/reset
|
||||||
chmod 0220 /sys/devices/platform/19000000.aoc/reset
|
chmod 0220 /sys/devices/platform/19000000.aoc/reset
|
||||||
|
|
||||||
|
# AOC UDFPS clock compensation permission
|
||||||
|
chown system system /sys/devices/platform/19000000.aoc/control/udfps_set_clock_source
|
||||||
|
chmod 220 /sys/devices/platform/19000000.aoc/control/udfps_set_clock_source
|
||||||
|
chown system system /sys/devices/platform/19000000.aoc/control/udfps_get_osc_freq
|
||||||
|
chmod 440 /sys/devices/platform/19000000.aoc/control/udfps_get_osc_freq
|
||||||
|
chown system system /sys/devices/platform/19000000.aoc/control/udfps_get_disp_freq
|
||||||
|
chmod 440 /sys/devices/platform/19000000.aoc/control/udfps_get_disp_freq
|
||||||
|
|
||||||
# IMS WiFi Calling
|
# IMS WiFi Calling
|
||||||
service charonservice /system/vendor/bin/charon
|
service charonservice /system/vendor/bin/charon
|
||||||
class main
|
class main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue