Something went wrong on our end
Select Git revision
hal_bluetooth_default.te
-
Myles Watson authored
Give the default implementation access to /data/misc/blue* for backward compatibility. Future Bluetooth HAL implementations should use the system log. Test: VTS tests pass, Bluetooth starts/stops Change-Id: Ia67896b46e3e9ce3421bbb0c8a8542f290b39083
Myles Watson authoredGive the default implementation access to /data/misc/blue* for backward compatibility. Future Bluetooth HAL implementations should use the system log. Test: VTS tests pass, Bluetooth starts/stops Change-Id: Ia67896b46e3e9ce3421bbb0c8a8542f290b39083
hal_bluetooth_default.te 489 B
type hal_bluetooth_default, domain;
hal_impl_domain(hal_bluetooth_default, hal_bluetooth)
type hal_bluetooth_default_exec, exec_type, file_type;
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;
')
# 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;