Commit Graph

9 Commits

Author SHA1 Message Date
Mingming Yin 4a72d65cef hal: handle combo output devices for voice call
- Issues: camera shutter sound is not heard on
  speaker when wired headset is connected.
- Rootcause: combo output devices are not updated
  properly for voice call use cases.
- Fix: update combo devices before voice call use
  cases in platform_get_output_snd_device.

CRs-Fixed: 591822
Change-Id: Ic2e75a4ce25f77499c07b4a8a32af774cdea16c2
2014-01-10 10:30:37 -08:00
Linux Build Service Account 5a1b86f632 Merge "policy_hal: Do not allow sonification for USB headset." 2014-01-09 02:03:12 -08:00
Linux Build Service Account 31e7e442a2 Merge "policy_hal: Fix to route the call to proper device" 2013-12-31 08:41:45 -08:00
Helen Zeng bbce4957f6 policy_hal: Fix to route the call to proper device
When voice/volte call is setup over USB headset, the call is
still on USB headset even after turning on speaker.

Don't set the device to USB headset when speaker is forced
by Telephony during call.

Change-Id: If6a95895a33423ff5150862a823fc669fd44e59a
CRs-Fixed: 588884
2013-12-19 09:59:00 -08:00
Krishnankutty Kolathappilly 4b7fdaaf6b policy_hal: Do not allow sonification for USB headset.
- Ringtone will be played on speaker when USB headset is connected.
- Sonification is not allowed for USB headset. The behavior is
  similar to HDMI.

CRs-Fixed: 588622
Change-Id: I5fba6ae0e42235f4144ccebac2a55fe1529b530a
2013-12-18 17:20:31 -08:00
Mingming Yin eeb9024bef policy_hal: remove unused function isVirtualInputDevice
- isVirtualInputDevice is a static member function and
  its implementation should be modified in base class only.
- Remove isVirtualInputDevice in policy_hal and modify
  APM_AUDIO_IN_DEVICE_VIRTUAL_ALL in base class to support
  FM recording over A2DP headset.

Change-Id: Ib0527cfdff170367491feb62b117815558e139e1
CRs-Fixed: 581377
2013-12-17 15:24:17 -08:00
Preetam Singh Ranawat de84f1a7fc hal : Support for another instance of fm recording
-Added support for one more instance of fm recording
    to play fm over a2dp.

Change-Id: I0c796c5acdc045327a8d43754e7530aab10097d9
2013-11-06 03:51:06 +05:30
Ravi Kumar Alamanda 88d28cba5d policy_hal: Add support for FM and WFD features
- Override the base class functions and add support for FM and
  WFD audio features.

Change-Id: If14afda8e2b507ca40a06c709fd33adbe5f70727
2013-10-16 12:57:32 -07:00
Ravi Kumar Alamanda 89a8142a18 policy_hal: Initial commit for target specific audio policy
- Derive target specific audio policy manager from the base class.
- Allow selection of USB analog dock headset device for voice calls.

Change-Id: I351e88a6abe02e56a14b4eef4c04862e79c5777c
2013-10-14 17:44:25 -07:00