hal: add support for callscreening.
handle newly added callscreening mode, provide support for device selection
as per this new mode.
Change-Id: I3c57c9edd38cf4347d11c871e1878a4536936edc
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index 66add14..235ae1f 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -4199,7 +4199,8 @@
return disp_type;
}
-snd_device_t platform_get_output_snd_device(void *platform, struct stream_out *out)
+snd_device_t platform_get_output_snd_device(void *platform, struct stream_out *out,
+ usecase_type_t uc_type __unused)
{
struct platform_data *my_data = (struct platform_data *)platform;
struct audio_device *adev = my_data->adev;
@@ -4672,7 +4673,8 @@
snd_device_t platform_get_input_snd_device(void *platform,
struct stream_in *in,
- audio_devices_t out_device)
+ audio_devices_t out_device,
+ usecase_type_t uc_type __unused)
{
struct platform_data *my_data = (struct platform_data *)platform;
struct audio_device *adev = my_data->adev;
@@ -8707,3 +8709,7 @@
{
return -EINVAL;
}
+
+bool platform_is_call_proxy_snd_device(snd_device_t snd_device __unused) {
+ return false;
+}