Add required sepolicy rule for Camera
Grant access for TNR max_freq to let libperfmgr can control it via powerhint. Bug: 298595475 Test: adb shell cat cur_freq, GCA, CTS Change-Id: Ibea9d8b60a41802ba7d685daa591471a9e8cbd91
This commit is contained in:
parent
746bd9ad3c
commit
be9c098a46
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ genfscon sysfs /thermal_zone14/mode u:obj
|
|||
|
||||
# Camera
|
||||
genfscon sysfs /devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq u:object_r:sysfs_camera:s0
|
||||
genfscon sysfs /devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/max_freq u:object_r:sysfs_camera:s0
|
||||
genfscon sysfs /devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/min_freq u:object_r:sysfs_camera:s0
|
||||
|
||||
# USB-C throttling stats
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue