From ffe4f5367dec34eb37e1c1494f1dfe2d18bfaa8e Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 5 Dec 2021 23:32:43 +0100 Subject: [PATCH] sm8350-common: sepolicy: Allow bluetooth hal to read bt.mac nv_mac stores the mac address in /data/vendor/mac_addr/bt.mac and the xiaomi bluetooth HAL reads it from there. Change-Id: I4469befffdcefa76a989020d617089dfb3e26673 --- sepolicy/vendor/hal_bluetooth_default.te | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sepolicy/vendor/hal_bluetooth_default.te diff --git a/sepolicy/vendor/hal_bluetooth_default.te b/sepolicy/vendor/hal_bluetooth_default.te new file mode 100644 index 0000000..246e81f --- /dev/null +++ b/sepolicy/vendor/hal_bluetooth_default.te @@ -0,0 +1,2 @@ +allow hal_bluetooth_default vendor_wifi_vendor_data_file:dir { search }; +allow hal_bluetooth_default vendor_wifi_vendor_data_file:file { read open };