Fix AV stop recording crash
This commit is contained in:
parent
5612135a71
commit
c577b0c28e
1 changed files with 1 additions and 1 deletions
|
@ -1142,7 +1142,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
|||
if (mediaRec != null) {
|
||||
try {
|
||||
mediaRec.stop();
|
||||
} catch (IllegalStateException e) {
|
||||
} catch (RuntimeException e) {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
indexFile(true, mediaRecFile);
|
||||
|
|
Loading…
Reference in a new issue