Audio policy: fix capture policy for IN_COMMUNICATION mode

If audio mode is IN_COMMUNICATION, favor audio mode owner over another
app also capturing with privacy sensitive flag and with foreground UI or
more recent capture start time.
This avoids silencing both apps in this scenario.

Restore voice communication capture restriction to audio mode owner
removed by commit ffabb495.

Issue: FP3-A11#398
Bug: 160260850
Test: VoIP call regression
Change-Id: If4737cb7ffa3123537a13319d5857031f0f48932
1 file changed