audiopolicy: update correct device for primary output when FM resumed

When FM resumed after notification tone played, device updated for
primary output is still headset and speaker. This makes the device
to be switched back to headset and speaker after FM started on headset,
and temp mute can be applied for FM as new device changed from combo
device to headset when stopOutput() called for notificaton tone playback.

Update device for all outputs after FM started, and update the current
device of FM playback for primary output to avoid unnecessary temp mute.

Change-Id: I41badee6fb11e8c4574daa8042e38262a41b7735
CRs-Fixed: 1008864
1 file changed