Skip to content
Snippets Groups Projects
Commit d3d78004 authored by Aniket Kumar Lata's avatar Aniket Kumar Lata Committed by Pavlin Radoslavov
Browse files

sepolicy: Read access to audioserver for Bluetooth properties

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

Bug: 68824150
Test: Manual; TestTracker/148125
Change-Id: I40c932d085ac55bc45e6654f966b2c9d244263d0
(cherry picked from commit 041049bc7a4e29dcca48e2c068b92aa8a8157d90)
parent bc0c88f3
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment