commit | b809a75a56b26f7446521741c022ad42eb04564f | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Jun 29 09:53:13 2020 -0700 |
committer | Eric Laurent <elaurent@google.com> | Thu Dec 17 21:47:58 2020 +0100 |
tree | 84e8bdcb107eb9529373a5070bc6f33bd067f496 | |
parent | 6435dd74a14ee1db195f5479147d71df7eb3cf9d [diff] |
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. Bug: 160260850 Test: VoIP call regression Change-Id: If4737cb7ffa3123537a13319d5857031f0f48932