hal: end all calls when setmode(AUDIO_MODE_NORMAL) is called

Telephony will call set_mode(AUDIO_MODE_NORMAL) when a
call is ended which will trigger audio policy manager setting
routing with audio usecase compatible device. Voice calls can
still be active if RIL has not yet called
setparameters(vsid,callstate). This would result in routing
voice call usecases with incompatible device for voice calls.
Fix this by ending all voice calls when set_mode(MODE_NORMAL)
is called.

Change-Id: Id2c9f2ff9ed46969e5cbd27b525b81735c1d49d8
5 files changed
tree: b2df3cc95557ec401f98755261c9048e5d045a37
  1. hal/
  2. legacy/
  3. mm-audio/
  4. policy_hal/
  5. visualizer/
  6. voice_processing/
  7. Android.mk