| commit | 61e07e3f03c62f39a4b88e761df8c5614474fb31 | [log] [tgz] |
|---|---|---|
| author | Mikhail Naganov <mnaganov@google.com> | Mon Jul 01 15:07:19 2019 -0700 |
| committer | jiabin <jiabin@google.com> | Tue Oct 01 10:54:50 2019 -0700 |
| tree | 8daf074c08d628b660884ed2c9269acf95a3ab3b | |
| parent | 839cd0691bd3265343e87fbb9545ed27319b99c1 [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
Merged-In: I82bc3a43bf679cfb03d4246d07615d3fd4dac409