alsa_sound: fix for output device routing during video chat

Bug: 7163358

- Output device for MODE_IN_COMMUNICATION could be earpiece
  or speaker, do not update output device in switchDevice()
  if input device is BUILTIN_MIC

Change-Id: I2a97a63f4cb57ef114695d3fd917282612b7a346
Signed-off-by: Iliyan Malchev <malchev@google.com>
1 file changed
tree: dbca8e4504d2f17ca719f8fed44971a491173797
  1. alsa_sound/
  2. libalsa-intf/
  3. Android.mk