summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-Chi Teng <ccteng@google.com>2023-10-27 19:31:40 +0000
committerChia-Chi Teng <ccteng@google.com>2023-10-27 22:53:17 +0000
commiteb2dcaedc8ec80ce8a904d8dddc6164735976d29 (patch)
treea91e6693dc5d6802d6c82fa56ca5686582cbd3fc
parent127ca27edc1cc25fad57b326b31d681253a3cc8c (diff)
downloadzuma-sepolicy-eb2dcaedc8ec80ce8a904d8dddc6164735976d29.tar.gz
Revert^2 "bluetooth: Allow triggering AOC reset from BT HAL"
This reverts commit 0aa787efa82477a31e9941374ec5fa17738a4f07. Reason for revert: Debug BT HCI timeout on UD2A build and P23 on main Bug: 306646797 Test: presubmit PTS Change-Id: Ia72ea9d0ba0209cce483d220b420933b243e05b3
-rw-r--r--vendor/hal_bluetooth_btlinux.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/hal_bluetooth_btlinux.te b/vendor/hal_bluetooth_btlinux.te
index b2a7529..1076442 100644
--- a/vendor/hal_bluetooth_btlinux.te
+++ b/vendor/hal_bluetooth_btlinux.te
@@ -8,5 +8,9 @@ allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;
# Allow triggering uart skip suspend
allow hal_bluetooth_btlinux sysfs_bt_uart:file rw_file_perms;
+# Allow triggering AOC reset
+allow hal_bluetooth_btlinux sysfs_aoc:dir search;
+allow hal_bluetooth_btlinux sysfs_aoc_reset:file rw_file_perms;
+
# allow the HAL to call cccdktimesync registered callbacks
binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app)