From 640c3160c9b39d6b7d986fbc325bcb4fde049044 Mon Sep 17 00:00:00 2001 From: Tommy Chang Date: Fri, 27 Dec 2024 10:37:20 +0000 Subject: [PATCH] Disable Bluetooth Hearing Access Profile default enable for P22 Set bluetooth.profile.hap.enabled_by_default to false bug: 386323913 Test: m Flag: EXEMPT, properties change only for feature config Change-Id: I1f7898f9fedefff9b64cbb51b5fbb177b87d57e4 --- device-cheetah.mk | 4 ++++ device-panther.mk | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/device-cheetah.mk b/device-cheetah.mk index 67dde2d..30a8fc4 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -246,6 +246,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5,SM-R630 +# Disable Bluetooth HAP by default +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.profile.hap.enabled_by_default=false + # Support LE & Classic concurrent encryption (b/330704060) PRODUCT_PRODUCT_PROPERTIES += \ bluetooth.ble.allow_enc_with_bredr=true diff --git a/device-panther.mk b/device-panther.mk index d4e660b..e10429a 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -216,6 +216,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5,SM-R630 +# Disable Bluetooth HAP by default +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.profile.hap.enabled_by_default=false + # Support LE & Classic concurrent encryption (b/330704060) PRODUCT_PRODUCT_PROPERTIES += \ bluetooth.ble.allow_enc_with_bredr=true