summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2018-04-21 19:14:29 +0100
committerMichael Bestas <mkbestas@lineageos.org>2018-05-21 19:55:14 +0300
commite4b31bb2be4381aad26fa9a662402178eb718589 (patch)
treed7718cac364e8dc114aa6327d248ac3bcb772a16
parent3ef5cf88628b926cfc679a60583ffa0029810b28 (diff)
downloadandroid_device_qcom_sepolicy-e4b31bb2be4381aad26fa9a662402178eb718589.tar.gz
android_device_qcom_sepolicy-e4b31bb2be4381aad26fa9a662402178eb718589.tar.bz2
android_device_qcom_sepolicy-e4b31bb2be4381aad26fa9a662402178eb718589.zip
legacy: Make WCNSS props readable to hci_qcomm_init
Change-Id: I3a9d988f75f64b45d1abb952b771a7e9bb30cac8
-rw-r--r--legacy-common/bluetooth_loader.te3
1 files changed, 2 insertions, 1 deletions
diff --git a/legacy-common/bluetooth_loader.te b/legacy-common/bluetooth_loader.te
index aa3a8a74..6b5837cf 100644
--- a/legacy-common/bluetooth_loader.te
+++ b/legacy-common/bluetooth_loader.te
@@ -4,8 +4,9 @@ type bluetooth_loader_exec, exec_type, file_type;
# Started by init
init_daemon_domain(bluetooth_loader)
-# Set persist.service.bdroid.* and bluetooth.* property values
+# Get persist.service.bdroid.*, bluetooth.* and wcnss property values
get_prop(bluetooth_loader, bluetooth_prop)
+get_prop(bluetooth_loader, wcnss_prop)
# Access the serial device
allow bluetooth_loader serial_device:chr_file rw_file_perms;