diff options
author | Eric Laurent <elaurent@google.com> | 2020-08-25 17:49:15 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2020-08-26 15:11:15 +0000 |
commit | 4bd9165371c93dc55d497ef0b66365f2f1f76693 (patch) | |
tree | 0c38bb78c211b9944a2673009f80badb7785551a /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b3beae79aea336eb6f9587118a5eee8f77d41522 (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
(cherry picked from commit 852cd7d7d4734081162ea7be8650bbbcfd3a862b)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions