140305db6d
BatteryService queries the usb state to check whether the usb type is HVDCP. This patch adds a rule to allow that. For more context check BatteryService#Led#isHvdcpPresent. Change-Id: Ifacf13dde4b1df81c92bf5d92196e504e61dd402
11 lines
399 B
Plaintext
11 lines
399 B
Plaintext
# LiveDisplay access to color calibration
|
|
allow system_server pps_socket:sock_file rw_file_perms;
|
|
allow system_server mm-pp-daemon:unix_stream_socket connectto;
|
|
|
|
# Time services
|
|
allow system_server time_daemon:unix_stream_socket connectto;
|
|
|
|
#allow reading of usb sysfs to query hvdcp state
|
|
allow system_server sysfs_usb_supply:dir { search };
|
|
allow system_server sysfs_usb_supply:file r_file_perms;
|