hal: disable volume boost if device is not supported during call
During call,if volume boost is enabled in handset,then insert
headset, the volume boost still is active. This causes headset
volume cannot adjust.
Fix it by disable volume boost if the device is not supported.
Change-Id: I650778a0d5190ec3551151a32f4d56bbe561bc18
diff --git a/hal/platform_api.h b/hal/platform_api.h
index f68d6e7..dc271cc 100644
--- a/hal/platform_api.h
+++ b/hal/platform_api.h
@@ -433,4 +433,5 @@
int platform_set_island_cfg_on_device(struct audio_device* adev, snd_device_t snd_device,
bool enable);
void platform_reset_island_power_status(void *platform, snd_device_t snd_device);
+void platform_is_volume_boost_supported_device(void *platform, struct listnode *devices);
#endif // AUDIO_PLATFORM_API_H