Files
elpaablo 1635d42a57 DeviceSettings: rework bypass charging
* Drop Lineage Health dependency
* Turn bypass charging into a tri-state (0-BYPASS_OFF, 1-BYPASS_WAITING, 2-BYPASS_OFF
* Add target limit

Change-Id: I06b6e9e8da7ffc20c769d47627d07cc189e884b4
2025-10-20 17:20:23 -07:00

9 lines
246 B
Plaintext

# Bypass Charging
allow system_app vendor_sysfs_usb_supply:file w_file_perms;
# Gamebar
allow system_app { proc_stat vendor_sysfs_kgsl vendor_sysfs_kgsl_gpuclk }:file r_file_perms;
# OnePulse PWM
rw_dir_file(system_app, vendor_sysfs_graphics);