Merge "Revert "audiopolicy: use profile flags during opening an input"" into main