Allow the Bluetooth HAL to log firmware versions

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
This commit is contained in:
Myles Watson 2017-01-13 11:29:04 -08:00
parent f41d89eb24
commit 1e588b02bc

View File

@ -8,3 +8,7 @@ init_daemon_domain(hal_bluetooth_default)
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;