From 8a2f931739828185c099d3be71f381fed0b6bd9c Mon Sep 17 00:00:00 2001 From: Madhav Iyengar Date: Tue, 2 Jul 2024 00:24:06 +0000 Subject: [PATCH] Extend ag/28090723 to zumapro. ag/28090723 missed giving the bthal access to AoC version for zumapro devices as well as zuma devices. This fixes that. Bug: 349661931 Flag: com.android.bluetooth.hal.flags.pixel_bt_aoc_offload_efw_xport Test: bthal on zumapro can read AoC version property Change-Id: Iec6558630f7cbac7dc83bd621a9d8dbcd9bed000 --- legacy/zuma/vendor/hal_bluetooth_btlinux.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legacy/zuma/vendor/hal_bluetooth_btlinux.te b/legacy/zuma/vendor/hal_bluetooth_btlinux.te index c496ea0..cb0e55a 100644 --- a/legacy/zuma/vendor/hal_bluetooth_btlinux.te +++ b/legacy/zuma/vendor/hal_bluetooth_btlinux.te @@ -7,3 +7,6 @@ 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) + +# Allow access for AoC properties. +get_prop(hal_bluetooth_btlinux, vendor_aoc_prop)