From 0ae7f56165090fed4e513ccc0d2e666a32f8765e Mon Sep 17 00:00:00 2001 From: Hao Dong Date: Sat, 18 Jan 2020 10:19:25 +0800 Subject: [PATCH] [ALPS04765260] BT open fail [Description] Sepolicy modification for BT Driver setprop MTK-Commit-Id: fa7f679e819436f0a49387411103ce866734dc2f Change-Id: I4b4edf6d45333d1ed4cb5a4fee17697dbae87acc Signed-off-by: Hao Dong CR-Id: ALPS04765260 Feature: BT AOSP --- non_plat/mtk_hal_bluetooth.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/non_plat/mtk_hal_bluetooth.te b/non_plat/mtk_hal_bluetooth.te index 46b9d03..e08fb56 100644 --- a/non_plat/mtk_hal_bluetooth.te +++ b/non_plat/mtk_hal_bluetooth.te @@ -45,4 +45,8 @@ get_prop(mtk_hal_bluetooth, hwservicemanager_prop) allow hal_bluetooth_client mtk_hal_bluetooth_hwservice:hwservice_manager find; allow mtk_hal_bluetooth system_data_file:lnk_file read; + hal_server_domain(mtk_hal_bluetooth,hal_bluetooth); + +# Purpose: Allow BT Driver to insmod +allow mtk_hal_bluetooth wmt_prop:property_service set;