commit | 852cd7d7d4734081162ea7be8650bbbcfd3a862b | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue Aug 25 17:49:15 2020 -0700 |
committer | Eric Laurent <elaurent@google.com> | Tue Aug 25 18:14:23 2020 -0700 |
tree | 5b3fac05f92193dac9041787bc2fd64830b23e5e | |
parent | 7298ec007b3a10d3908646987c92a77f7b8c6b3f [diff] |
audio service: add watchdog for audio mode Add a watchdog to remove an application from the audio mode owner stack if it has requested mode IN_COMMUNICATION and has not been playing or capturing audio for more than 3 seconds. This will prevent volume, routing and recording issues when misbehaving apps do not properly reset the audio mode at the end of a call. Bug: 161564483 Test: Manual regression tests for VoIP use cases Change-Id: I7c6f57a2c9a6c31d107a1bba2d7dfac6e3f275bd