odpm: Create powerstats vendor data folder on init
Test: Ensure that there are no sepolicy errors for odpm_config Bug: 192674986 Change-Id: I0c576a823451159c1208b49563649db174533e86
This commit is contained in:
parent
bdc2208318
commit
88fb5844e5
1 changed files with 4 additions and 0 deletions
|
@ -809,6 +809,10 @@ on fs
|
||||||
chown system system /sys/devices/platform/acpm_mfd_bus@17500000/i2c-7/i2c-s2mpg10mfd/s2mpg10-meter/s2mpg10-odpm/iio:device0/enabled_rails
|
chown system system /sys/devices/platform/acpm_mfd_bus@17500000/i2c-7/i2c-s2mpg10mfd/s2mpg10-meter/s2mpg10-odpm/iio:device0/enabled_rails
|
||||||
chown system system /sys/devices/platform/acpm_mfd_bus@17510000/i2c-8/i2c-s2mpg11mfd/s2mpg11-meter/s2mpg11-odpm/iio:device1/enabled_rails
|
chown system system /sys/devices/platform/acpm_mfd_bus@17510000/i2c-8/i2c-s2mpg11mfd/s2mpg11-meter/s2mpg11-odpm/iio:device1/enabled_rails
|
||||||
|
|
||||||
|
on post-fs-data
|
||||||
|
mkdir /data/vendor/powerstats 0771 system system
|
||||||
|
chown system system /data/vendor/powerstats
|
||||||
|
|
||||||
on property:vendor.thermal.link_ready=1
|
on property:vendor.thermal.link_ready=1
|
||||||
# BCL
|
# BCL
|
||||||
write /dev/thermal/tz-by-name/smpl_gm/policy user_space
|
write /dev/thermal/tz-by-name/smpl_gm/policy user_space
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue