APM: only use the flags that are compatible for the mix port when opening
input stream.

Bug: 324438381
Test: atest AudioRecordTest audiopolicy_tests
Change-Id: Ibc4f508c600f582dd8f3916a5be1ccbd4ebe4d63
1 file changed