android_hardware_qcom_audio/policy_hal
Sharad Sangle c66b9ca876 policy-hal: make sure policy-hal is in sync with AOSP
This change makes sure that changes in the base function
 are moved to custom policy if the function is derived in
 custom policy.

 Below changes are taken care

1) audio policy: fix capture indication to sound trigger service.

   Only indicate active capture to sound trigger service
   when capturing from primay HW module.

   Bug: 31826453
   Bug: 31771879
   Change-Id: Idf92393d3e7dbf926b847ab23f670e7ab5dd5248

2) audio policy: fix media volume after ringtone

   Fix regression introduced by commit 11c499a5 causing
   music volume not to be restored after ringtone playback
   over duplicated output (speaker + A2DP).

   Bug: 31539910
   Change-Id: I1c4eebea1f1a8f82ae2acfeecb9a61c437a74e25

3) audio policy: fix call volume over USB

   Make sure the cache of output device selection per strategy is updated
   also when an input device is connected or disconnected as the list of
   input devices sometimes impacts the output device selection in
   getDeviceForStrategy().

   Bug: 30659619
   Change-Id: Ie9f7bafda0074afcc803f309379c35b538f50170

4) audio policy: workaround for truncated touch sounds

   Implement workaround to avoid touch sound truncation when
   audio path or volume changes are triggered by user actions.

   Also:
      - Fix regression introduced by commit c75307b7 causing failure
      to honor playback start delay in case of path change.
      - Fix failure to report path switch delay in updateCallRouting().
      - Make sure we delay temporary mute according to requested device
      switch delay in checkDeviceMuteStrategies().

   Bug: 29528161
   Bug: 27535199
   Change-Id: Id729579b6623ee67a767055b9aca7d2e2dde8491

Change-Id: I2f0b0e51ec725a462e913432f648cb7b3cf125fe
2017-01-19 00:25:52 -08:00
..
Android.mk Add Dolby cflags to policy_hal/Android.mk 2016-10-18 05:03:01 -07:00
AudioPolicyManager.cpp policy-hal: make sure policy-hal is in sync with AOSP 2017-01-19 00:25:52 -08:00
AudioPolicyManager.h policy_hal: Avoid invalidation of music stream if not required. 2016-10-18 05:09:23 -07:00