summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2020-12-24 13:43:57 +0000
committeralk3pInjection <webmaster@raspii.tech>2022-01-20 10:28:00 +0800
commitcc88c2b2a5df251277bf70edbded127d435a93c9 (patch)
tree4d3a3006114bfd890ebf1312acfc867c858cf2d1
parentd5625630c1890328ed7b427070b08d8ed0974a28 (diff)
common: Address BT denials
Change-Id: I92bfabbb00be52aa7cebd489e9a79e1ab2176d73
-rw-r--r--generic/vendor/common/property_contexts1
-rw-r--r--legacy/vendor/common/bluetooth.te2
-rw-r--r--legacy/vendor/common/property_contexts2
3 files changed, 3 insertions, 2 deletions
diff --git a/generic/vendor/common/property_contexts b/generic/vendor/common/property_contexts
index df1cab1a..04e080b6 100644
--- a/generic/vendor/common/property_contexts
+++ b/generic/vendor/common/property_contexts
@@ -27,7 +27,6 @@
persist.vendor.service.bdroid. u:object_r:vendor_bluetooth_prop:s0
persist.vendor.bluetooth. u:object_r:vendor_bluetooth_prop:s0
ro.vendor.bluetooth. u:object_r:vendor_bluetooth_prop:s0
-persist.vendor.bluetooth.a2dp. u:object_r:vendor_bluetooth_prop:s0
persist.vendor.qcom.bluetooth. u:object_r:vendor_bluetooth_prop:s0
vendor.qcom.bluetooth. u:object_r:vendor_bluetooth_prop:s0
vendor.wc_transport. u:object_r:vendor_bluetooth_prop:s0
diff --git a/legacy/vendor/common/bluetooth.te b/legacy/vendor/common/bluetooth.te
index 971acc5d..da3a224a 100644
--- a/legacy/vendor/common/bluetooth.te
+++ b/legacy/vendor/common/bluetooth.te
@@ -86,3 +86,5 @@ hal_client_domain(bluetooth, hal_perf);
#allow bluetooth to make binder call to gpuservice
binder_call(bluetooth, gpuservice);
+
+get_prop(bluetooth, vendor_bluetooth_prop)
diff --git a/legacy/vendor/common/property_contexts b/legacy/vendor/common/property_contexts
index 06310bab..a4f0bedc 100644
--- a/legacy/vendor/common/property_contexts
+++ b/legacy/vendor/common/property_contexts
@@ -27,7 +27,7 @@
persist.vendor.service.bdroid. u:object_r:vendor_bluetooth_prop:s0
persist.vendor.bt.soc.scram_freqs u:object_r:vendor_bluetooth_prop:s0
-persist.vendor.bluetooth.a2dp. u:object_r:vendor_bluetooth_prop:s0
+persist.vendor.bluetooth. u:object_r:vendor_bluetooth_prop:s0
persist.vendor.qcom.bluetooth. u:object_r:vendor_bluetooth_prop:s0
vendor.qcom.bluetooth. u:object_r:vendor_bluetooth_prop:s0
vendor.wc_transport. u:object_r:vendor_bluetooth_prop:s0