Skip to content

Commit

Permalink
Correcting issue apache#325.
Browse files Browse the repository at this point in the history
As stated in issue apache#325, it looks like PR apache#317 missed a spot in the corrections it was making.  This commit adds that fix to the missed location.
  • Loading branch information
klaw-PLS authored Jan 17, 2022
1 parent 4093f7e commit f04285c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/AudioPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ private void loadAudioFile(String file) throws IllegalArgumentException, Securit
fileInputStream.close();
}
else {
this.player.setDataSource(Environment.getExternalStorageDirectory().getPath() + "/" + file);
this.player.setDataSource(createAudioFilePath(file);
}
}
this.setState(STATE.MEDIA_STARTING);
Expand Down

0 comments on commit f04285c

Please sign in to comment.