Fix Wave form IOException thread issue.
This commit is contained in:
parent
f7b150f2d2
commit
543f38c75d
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ public final class AudioWaveForm {
|
||||||
Util.runOnMain(() -> onSuccess.accept(fileInfo));
|
Util.runOnMain(() -> onSuccess.accept(fileInfo));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
Log.w(TAG, "Failed to create audio wave form for " + cacheKey, e);
|
Log.w(TAG, "Failed to create audio wave form for " + cacheKey, e);
|
||||||
onFailure.accept(e);
|
Util.runOnMain(() -> onFailure.accept(e));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue