Merge 781cfc8b70857a91bcbdb47baa3fdaff4710b6a9 on remote branch

Change-Id: I14db31b322d381a2eefde3dab9fd83520aa478d7
diff --git a/legacy/vendor/common/property_contexts b/legacy/vendor/common/property_contexts
index 0433fae..33354bf 100644
--- a/legacy/vendor/common/property_contexts
+++ b/legacy/vendor/common/property_contexts
@@ -27,6 +27,7 @@
 
 persist.vendor.service.bdroid.      u:object_r:vendor_bluetooth_prop:s0
 persist.vendor.bt.soc.scram_freqs   u:object_r:vendor_bluetooth_prop:s0
+persist.vendor.bt.a2dp_offload_cap  u:object_r:vendor_bluetooth_prop:s0
 persist.vendor.bluetooth.a2dp.      u:object_r:vendor_bluetooth_prop:s0
 persist.vendor.qcom.bluetooth.      u:object_r:vendor_bluetooth_prop:s0
 vendor.qcom.bluetooth.              u:object_r:vendor_bluetooth_prop:s0
diff --git a/legacy/vendor/sdm660/hal_wifi_supplicant.te b/legacy/vendor/sdm660/hal_wifi_supplicant.te
new file mode 100644
index 0000000..0968d6a
--- /dev/null
+++ b/legacy/vendor/sdm660/hal_wifi_supplicant.te
@@ -0,0 +1,5 @@
+# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-3-Clause-Clear
+
+# # Allow wpa_supplicant to send back wifi information to location
+allow hal_wifi_supplicant_default location:unix_dgram_socket sendto;
\ No newline at end of file
diff --git a/legacy/vendor/sdm660/location.te b/legacy/vendor/sdm660/location.te
index 077b165..6dcebb0 100644
--- a/legacy/vendor/sdm660/location.te
+++ b/legacy/vendor/sdm660/location.te
@@ -5,3 +5,6 @@
 
 # allows location to access ssgtzd socket
 allow location ssgtzd_socket:sock_file write;
+
+# /data/vendor/wifi
+allow location wifi_vendor_data_file:dir rw_dir_perms;
diff --git a/legacy/vendor/sdm660/location_app.te b/legacy/vendor/sdm660/location_app.te
index 6bf6da9..7e88264 100644
--- a/legacy/vendor/sdm660/location_app.te
+++ b/legacy/vendor/sdm660/location_app.te
@@ -31,3 +31,6 @@
 
 allow vendor_location_app sysfs_kgsl_gpu_model:file r_file_perms;
 dontaudit vendor_location_app default_android_service:service_manager {find};
+
+allow vendor_location_app system_data_file:dir {search};
+allow vendor_location_app user_profile_root_file:dir {search};