From 00484704f80ea3baa745fef22a1aaa72e89bb3ae Mon Sep 17 00:00:00 2001 From: Madhav Iyengar Date: Fri, 28 Jun 2024 01:09:10 +0000 Subject: [PATCH] Give bthal permission to read AoC version. Bug: 349661931 Flag: com.android.bluetooth.hal.flags.pixel_bt_aoc_offload_efw_xport Test: Allows bthal to choose between USF and EFW transports to communicate with AoC based on version. Change-Id: I3edbcafd4ee5d0c875618c1a1c1b89e1bbd4d1ec --- vendor/hal_bluetooth_btlinux.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/hal_bluetooth_btlinux.te b/vendor/hal_bluetooth_btlinux.te index b2a7529c..625dd72e 100644 --- a/vendor/hal_bluetooth_btlinux.te +++ b/vendor/hal_bluetooth_btlinux.te @@ -10,3 +10,6 @@ allow hal_bluetooth_btlinux sysfs_bt_uart:file rw_file_perms; # allow the HAL to call cccdktimesync registered callbacks binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app) + +# Allow access for AoC properties. +get_prop(hal_bluetooth_btlinux, vendor_aoc_prop)