Loading
hal: Fix voice calls starting on speaker unintendedly
If setParameters(vsid, callstate) call is processed before setparameter(routing), voice calls will be started on speaker. Fix by not starting voice calls by checking if the primary output device is speaker. Change-Id: If3ecb83bbcb02d5da40d66340276263413adabc9