From 7238f5c62e3056cdbb5c1c4d9f41964e135222e6 Mon Sep 17 00:00:00 2001 From: Benson Li Date: Mon, 15 Apr 2024 12:14:13 +0000 Subject: [PATCH] Add system property for concurrent encryption on LE and BR/EDR Bug: 330704060 Change-Id: I31f8bcb49359473d52474231b6e777c62109ae51 Test: make --- device-husky.mk | 4 ++++ device-ripcurrent.mk | 4 ++++ device-shiba.mk | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/device-husky.mk b/device-husky.mk index 8baa722..9b613ee 100644 --- a/device-husky.mk +++ b/device-husky.mk @@ -240,6 +240,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \ bluetooth.leaudio.dual_bidirection_swb.supported=true +# Support LE & Classic concurrent encryption (b/330704060) +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.ble.allow_enc_with_bredr=true + # Support One-Handed mode PRODUCT_PRODUCT_PROPERTIES += \ ro.support_one_handed_mode=true diff --git a/device-ripcurrent.mk b/device-ripcurrent.mk index 39e892d..39c3160 100644 --- a/device-ripcurrent.mk +++ b/device-ripcurrent.mk @@ -191,6 +191,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \ bluetooth.leaudio.dual_bidirection_swb.supported=true +# Support LE & Classic concurrent encryption (b/330704060) +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.ble.allow_enc_with_bredr=true + # Keymaster HAL #LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service diff --git a/device-shiba.mk b/device-shiba.mk index 71f29ac..91fdcc6 100644 --- a/device-shiba.mk +++ b/device-shiba.mk @@ -227,6 +227,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \ bluetooth.leaudio.dual_bidirection_swb.supported=true +# Support LE & Classic concurrent encryption (b/330704060) +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.ble.allow_enc_with_bredr=true + # Support One-Handed mode PRODUCT_PRODUCT_PROPERTIES += \ ro.support_one_handed_mode=true