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