Enable per project enable/disable LeAudioCodecExtension
Bug: 339888097
Change-Id: I6235d8a053521c72dfac0908d060f7c0b13facb8
Test: m .
Flag: Exempt, adding system property
diff --git a/srcs/android/sysprop/BluetoothProperties.sysprop b/srcs/android/sysprop/BluetoothProperties.sysprop
index d368107..c1daafd 100644
--- a/srcs/android/sysprop/BluetoothProperties.sysprop
+++ b/srcs/android/sysprop/BluetoothProperties.sysprop
@@ -147,6 +147,14 @@
prop_name: "bluetooth.core.le_audio.inband_ringtone.supported"
}
+prop {
+ api_name: "isLeAudioCodecExtensionAidlEnabled"
+ type: Boolean
+ scope: Public
+ access: Readonly
+ prop_name: "bluetooth.core.le_audio.codec_extension_aidl.enabled"
+}
+
# The default name of the device.
# Set by vendors overlay, read at Bluetooth initialization
prop {
diff --git a/srcs/api/PlatformProperties-current.txt b/srcs/api/PlatformProperties-current.txt
index bb58028..d6a2e7c 100644
--- a/srcs/api/PlatformProperties-current.txt
+++ b/srcs/api/PlatformProperties-current.txt
@@ -78,6 +78,10 @@
prop_name: "bluetooth.core.gap.le.privacy.enabled"
}
prop {
+ api_name: "isLeAudioCodecExtensionAidlEnabled"
+ prop_name: "bluetooth.core.le_audio.codec_extension_aidl.enabled"
+ }
+ prop {
api_name: "isLeAudioInbandRingtoneSupported"
prop_name: "bluetooth.core.le_audio.inband_ringtone.supported"
}