android_device_xiaomi_sdm66.../sepolicy/vendor/system_app.te
Stylogey 5182be1445 sdm660-common: DeviceSettings: Add USB fastcharge toggle
Co-authored-by: ronaxdevil <pratabidya.007@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-23 19:32:12 +01:00

23 lines
1,017 B
Text

allow system_app blkio_dev:dir search;
allow system_app hall_dev:file rw_file_perms;
allow system_app hall_dev:dir search;
allow system_app kcal_dev:dir search;
allow system_app kcal_dev:file rw_file_perms;
allow system_app proc_pagetypeinfo:file r_file_perms;
allow system_app proc_vmallocinfo:file read;
allow system_app sysfs_fcharge:file rw_file_perms;
allow system_app sysfs_vibrator:dir search;
allow system_app sysfs_vibrator:file rw_file_perms;
allow system_app sysfs_graphics:dir search;
allow system_app sysfs_graphics:file rw_file_perms;
allow system_app sysfs_leds:dir search;
allow system_app sysfs_fpsinfo:file rw_file_perms;
allow system_app sysfs_headphonegain:file rw_file_perms;
allow system_app sysfs_micgain:file rw_file_perms;
allow system_app sysfs_earpiecegain:file rw_file_perms;
allow system_app sysfs_zram:dir search;
allow system_app sysfs_zram:file r_file_perms;
allow system_app zygote:unix_stream_socket { getopt };
get_prop(system_app, system_prop);
set_prop(system_app, system_prop);