Merge "Add system property to for Gaming Audio profile (GMAP)" into main
diff --git a/srcs/android/sysprop/BluetoothProperties.sysprop b/srcs/android/sysprop/BluetoothProperties.sysprop index 1cf2ff6..1718212 100644 --- a/srcs/android/sysprop/BluetoothProperties.sysprop +++ b/srcs/android/sysprop/BluetoothProperties.sysprop
@@ -380,6 +380,16 @@ prop_name: "bluetooth.profile.gatt.enabled" } +# Whether the Gaming Audio profile (GMAP) is enabled on this device. +# Set by vendors overlay, read at Bluetooth initialization +prop { + api_name: "isProfileGmapEnabled" + type: Boolean + scope: Public + access: Readonly + prop_name: "bluetooth.profile.gmap.enabled" +} + # Whether the Hearing Aid Profile (HAP) client role is enabled on this 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 03f5195..1dc0a74 100644 --- a/srcs/api/PlatformProperties-current.txt +++ b/srcs/api/PlatformProperties-current.txt
@@ -147,6 +147,10 @@ prop_name: "bluetooth.profile.gatt.enabled" } prop { + api_name: "isProfileGmapEnabled" + prop_name: "bluetooth.profile.gmap.enabled" + } + prop { api_name: "isProfileHapClientEnabled" prop_name: "bluetooth.profile.hap.client.enabled" }