mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Merge pull request #1494 from simophin/ses-1935-audio-recording-crash
[SES-1935] Audio recording crash
This commit is contained in:
commit
66c0f940aa
@ -45,7 +45,8 @@ public class AudioRecorder {
|
||||
Log.i(TAG, "Running startRecording() + " + Thread.currentThread().getId());
|
||||
try {
|
||||
if (audioCodec != null) {
|
||||
throw new AssertionError("We can only record once at a time.");
|
||||
Log.e(TAG, "Trying to start recording while another recording is in progress, exiting...");
|
||||
return;
|
||||
}
|
||||
|
||||
ParcelFileDescriptor fds[] = ParcelFileDescriptor.createPipe();
|
||||
|
Loading…
Reference in New Issue
Block a user