2017-01-11 00:54:25 +01:00
|
|
|
type hal_bluetooth_default, domain;
|
|
|
|
hal_impl_domain(hal_bluetooth_default, hal_bluetooth)
|
2016-10-12 23:49:56 +02:00
|
|
|
|
2017-01-11 00:54:25 +01:00
|
|
|
type hal_bluetooth_default_exec, exec_type, file_type;
|
2016-10-12 23:49:56 +02:00
|
|
|
init_daemon_domain(hal_bluetooth_default)
|
|
|
|
|
|
|
|
# VTS tests need to be able to toggle rfkill
|
|
|
|
userdebug_or_eng(`
|
|
|
|
allow hal_bluetooth_default self:capability net_admin;
|
|
|
|
')
|
2017-01-13 20:29:04 +01:00
|
|
|
|
|
|
|
# Logging for backward compatibility
|
|
|
|
allow hal_bluetooth_default bluetooth_data_file:dir ra_dir_perms;
|
|
|
|
allow hal_bluetooth_default bluetooth_data_file:file create_file_perms;
|