(ported from Ib2e3cf498851c0c9e5e74aacc9bf391549c0ad1a) Bug: 263916675 Bug: 264231895 Test: setprop vendor.usb.contaminantdisable true Change-Id: Ia451a6abc4a3c872c002efa323d06e9179bd656b Signed-off-by: Jimmy Hu <hhhuuu@google.com>
7 lines
418 B
Text
7 lines
418 B
Text
type disable-contaminant-detection-sh, domain;
|
|
type disable-contaminant-detection-sh_exec, vendor_file_type, exec_type, file_type;
|
|
init_daemon_domain(disable-contaminant-detection-sh)
|
|
|
|
allow disable-contaminant-detection-sh vendor_toolbox_exec:file execute_no_trans;
|
|
allow disable-contaminant-detection-sh sysfs_batteryinfo:dir r_dir_perms;
|
|
allow disable-contaminant-detection-sh sysfs_batteryinfo:file rw_file_perms;
|