1e588b02bc
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
14 lines
489 B
Text
14 lines
489 B
Text
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;
|