sepolicy: Read access to audioserver for Bluetooth properties

Provide read/write access to audioserver for Bluetooth
properties used with A2DP offload.

Bug: 63932139
Bug: 68824150
Test: Manual; TestTracker/148125
Change-Id: I40c932d085ac55bc45e6654f966b2c9d244263d0
(cherry picked from commit 041049bc7a)
This commit is contained in:
Aniket Kumar Lata 2018-01-31 20:20:08 -08:00 committed by Petri Gynther
parent 732240b041
commit abda4ac411

View file

@ -36,8 +36,8 @@ allow audioserver permission_service:service_manager find;
allow audioserver power_service:service_manager find;
allow audioserver scheduling_policy_service:service_manager find;
# Grant access to the "persist.bluetooth.enabledelayreports" property
get_prop(audioserver, bluetooth_prop);
# Allow read/write access to bluetooth-specific properties
set_prop(audioserver, bluetooth_prop)
# Grant access to audio files to audioserver
allow audioserver audio_data_file:dir ra_dir_perms;