summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-28 23:03:02 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-28 23:03:02 +0000
commitefb58d5b1db6578ee045dcd1ed1487f1745abe1c (patch)
tree8e9680b6bb8a15a8afd8fa48da899142284fce4b
parent3267456dfec58501229508a341987d60315036af (diff)
parent858f9996573ecb76cb62f1fbd920cc54a554fdd1 (diff)
downloadzuma-sepolicy-efb58d5b1db6578ee045dcd1ed1487f1745abe1c.tar.gz
Snap for 10877629 from 858f9996573ecb76cb62f1fbd920cc54a554fdd1 to udc-d2-release
Change-Id: I41f8dabae3e191c20e586d70e1a0cb14dd286c17
-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 c496ea0..3b7c820 100644
--- a/vendor/hal_bluetooth_btlinux.te
+++ b/vendor/hal_bluetooth_btlinux.te
@@ -5,5 +5,9 @@ allow hal_bluetooth_btlinux device:dir r_dir_perms;
allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_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)