mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-08 22:38:37 +00:00
Fix Wave form IOException thread issue.
This commit is contained in:
parent
f7b150f2d2
commit
543f38c75d
@ -112,7 +112,7 @@ public final class AudioWaveForm {
|
||||
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));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user