1
0
Fork 1

Merge pull request 'Reset outputFileWrittenLatch for every new voice record' (#228) from p42ity/monocles_chat:fix_voice_recorder_file_observer into master

Reviewed-on: https://codeberg.org/monocles/monocles_chat/pulls/228
This commit is contained in:
Arne-Brün Vogelsang 2024-11-08 19:13:15 +00:00
commit 60d90dff9d

View file

@ -5471,6 +5471,7 @@ public class ConversationFragment extends XmppFragment
}
private void setupFileObserver(final File directory) {
outputFileWrittenLatch = new CountDownLatch(1);
mFileObserver =
new FileObserver(directory.getAbsolutePath()) {
@Override