Skip to content

Commit

Permalink
Fix Wave form IOException thread issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-signal committed Jun 2, 2020
1 parent f7b150f commit 543f38c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -112,7 +112,7 @@ public void getWaveForm(@NonNull Consumer<AudioFileInfo> onSuccess, @NonNull Con
Util.runOnMain(() -> onSuccess.accept(fileInfo));
} catch (IOException e) {
Log.w(TAG, "Failed to create audio wave form for " + cacheKey, e);
onFailure.accept(e);
Util.runOnMain(() -> onFailure.accept(e));
}
});
}
Expand Down

0 comments on commit 543f38c

Please sign in to comment.