policy_hal: align custom APM with stock APM

This update cherry pick the following commits on Q.
- audio policy: fix camera shutter sound
- audio policy: mute call RX when SCO volume is 0
- audiopolicy: apm: Prepare the future: use
  DeviceDescriptor/DeviceVector
- audio policy: improve input device connection logic
- audiopolicy: fix routing of exclusive preferred device

CRs-Fixed: 2517675
Change-Id: Iedf7406d5df7f7441918fb9e12ff74f931e0071b
1 file changed
tree: d72ae170d41303fc425ab3d76833d3ad05f87f40
  1. policy_hal/
  2. Android.mk