Reset outputFileWrittenLatch for every new voice record
This commit is contained in:
parent
96e1013ff3
commit
7a4d7e9a3e
1 changed files with 1 additions and 0 deletions
|
@ -5379,6 +5379,7 @@ public class ConversationFragment extends XmppFragment
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setupFileObserver(final File directory) {
|
private void setupFileObserver(final File directory) {
|
||||||
|
outputFileWrittenLatch = new CountDownLatch(1);
|
||||||
mFileObserver =
|
mFileObserver =
|
||||||
new FileObserver(directory.getAbsolutePath()) {
|
new FileObserver(directory.getAbsolutePath()) {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue