commit | 480ffee429efc8591ea57f0f1e2f6d90437e23eb | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Mon Jul 01 15:07:19 2019 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Jul 02 22:38:33 2019 +0000 |
tree | 30d2541b577c145be586d7931fd913c808fd7755 | |
parent | 18fa5eca5cb1ed890e3885a13e6dc9f57f48f69c [diff] |
AudioPolicyManager: Handle error from setInputDevice in startInput The error must not be ignored as otherwise the Java layer thinks that recording has started successfully. Bug: 136279123 Test: reproduce AudioRecordingConfigurationTest failure on cuttlefish, check test failure output, the failure must be "junit.framework.AssertionFailedError: expected:<3> but was:<1>" Change-Id: I82bc3a43bf679cfb03d4246d07615d3fd4dac409