hal: Fix incorrect audio calibration after device switch
Start mp3 offload playback on headset, plug-out headset and
resume playback on speaker very quickly (within 500ms) and
plug-in the headset back within next 2s. Observe that music
sound louder because the playback continues with previous
speaker calibration as headset calibration is not pushed.
Push the calibration data before enabling every use case
instead of pushing only once while enabling the sound device
to fix the issue.
Bug: 23568067
Change-Id: Iade2e42183009b460991bb6ee48b09cff0bcfa8b
1 file changed