mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
imported and adapted xiaomiparts from https://github.com/AlphaDroid-devices/device_xiaomi_sm8350-common/tree/alpha-13/parts with thermal profiles, per app refresh rate, speaker cleaner
25 lines
897 B
Plaintext
25 lines
897 B
Plaintext
allow system_app sysfs_thermal:file rw_file_perms;
|
|
|
|
allow system_app proc_pagetypeinfo:file r_file_perms;
|
|
allow system_app sysfs_zram:dir search;
|
|
allow system_app sysfs_zram:file r_file_perms;
|
|
|
|
# vendor_aware_prop
|
|
get_prop(system_app, vendor_aware_available_prop);
|
|
|
|
binder_call(system_app, hal_audio_default)
|
|
binder_call(system_app, hal_power_default)
|
|
binder_call(system_app, hal_vibrator_default)
|
|
binder_call(system_app, hal_wifi_supplicant_default)
|
|
binder_call(system_app, wificond)
|
|
|
|
# Fast charger node
|
|
allow system_app vendor_sysfs_battery_supply:dir { search };
|
|
allow system_app vendor_sysfs_battery_supply:file { getattr open read };
|
|
|
|
r_dir_file(system_app, vendor_sysfs_battery_supply)
|
|
|
|
allow system_app sysfs:file { setattr getattr write open read };
|
|
allow system_app vendor_sysfs_graphics:dir { search setattr getattr write open read };
|
|
allow system_app privapp_data_file:dir { search };
|