fix(android): issue #325 (#328)
As stated in issue #325, it looks like PR #317 missed a spot in the corrections it was making. This commit adds that fix to the missed location.
diff --git a/src/android/AudioPlayer.java b/src/android/AudioPlayer.java
index 96d41fd..c5d5e46 100644
--- a/src/android/AudioPlayer.java
+++ b/src/android/AudioPlayer.java
@@ -706,7 +706,7 @@
fileInputStream.close();
}
else {
- this.player.setDataSource(Environment.getExternalStorageDirectory().getPath() + "/" + file);
+ this.player.setDataSource(createAudioFilePath(file);
}
}
this.setState(STATE.MEDIA_STARTING);