We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88a6930 commit 41c2080Copy full SHA for 41c2080
src/android/AudioPlayer.java
@@ -590,7 +590,7 @@ private boolean readyPlayer(String file) {
590
return true;
591
case MEDIA_STOPPED:
592
//if we are readying the same file
593
- if (this.audioFile.compareTo(file) == 0) {
+ if (file!=null && this.audioFile.compareTo(file) == 0) {
594
//maybe it was recording?
595
if (player == null) {
596
this.player = new MediaPlayer();
0 commit comments