commit | f3610614516b3e894848d40be16146533bc513c6 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Jul 12 17:29:33 2019 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri Jul 12 17:29:33 2019 -0700 |
tree | 21d1a03b3bdc3a1136c01a86db565391c5327e10 | |
parent | b3f0c30231a0d1c299522c85d1d5a0b77009b5dd [diff] |
audio record: fix getPortId() after release Some race condition can cause AudioRecordingMonitorImpl to call getPortId() on the client object after it has been released causing an exception to be thrown by the JNI. Test: Use audio Recorder app and check that no exception is thrown when recording stops Change-Id: I6cc1aee0a2ccae879e2cb5df7af757f33436d1f3