Skip to content

Commit

Permalink
fix the android plugin issue
Browse files Browse the repository at this point in the history
  • Loading branch information
towerjoo committed Oct 16, 2019
1 parent 06d5b4b commit 38acc63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private void handleInit(MethodCall call, Result result) {
private void handleCurrent(MethodCall call, Result result) {
HashMap<String, Object> currentResult = new HashMap<>();
currentResult.put("duration", getDuration());
currentResult.put("path", mFilePath);
currentResult.put("path", (mStatus == "stopped")? mFilePath : getTempFilename());
currentResult.put("audioFormat", mExtension);
currentResult.put("peakPower", mPeakPower);
currentResult.put("averagePower", mAveragePower);
Expand Down

0 comments on commit 38acc63

Please sign in to comment.