allow bthal to access vendor bluetooth folder

Bug: 240636731
Test: enable vendor btsnoop property and check the vendor snoop log
Change-Id: Ib7c36e7398bdbe7abc2f3b2dba684f95a4ce90a8
This commit is contained in:
jonerlin 2023-03-26 17:57:26 +08:00 committed by Wilson Sung
parent 4cd8d2fef9
commit 940b51e1e4
3 changed files with 8 additions and 0 deletions

View file

@ -2,5 +2,8 @@
allow hal_bluetooth_btlinux aoc_device:chr_file rw_file_perms;
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 the HAL to call cccdktimesync registered callbacks
binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app)