1# config_bluetooth service
2type config_bluetooth, domain;
3type config_bluetooth_exec, exec_type, file_type;
4
5# Started by init
6init_daemon_domain(config_bluetooth)
7
8# Set bluetooth.* and qualcomm.bluetooth.* properties.
9set_prop(config_bluetooth, bluetooth_prop);
10
11# Allow execution of /system/bin/btnvtool.
12allow config_bluetooth btnvtool_exec:file rx_file_perms;
13
14# Allow access to /persist/.bt_nv.bin.
15allow config_bluetooth persist_file:dir w_dir_perms;
16allow config_bluetooth persist_file:file create_file_perms;
17
18allow config_bluetooth shell_exec:file r_file_perms;
19
20allow config_bluetooth toolbox_exec:file rx_file_perms;
21
22allow config_bluetooth sysfs:file r_file_perms;
23