Repository: cordova-plugin-media Updated Branches: refs/heads/master 412a39db5 -> 597e998d1
CB-10476 - fix problem where callbacks were not invoked on android due to messageChannel being overridden by callbackContext in every execut() call. This closes #78 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/597e998d Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/597e998d Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/597e998d Branch: refs/heads/master Commit: 597e998d1ebe75bfefa933a56d42006f1a309a8c Parents: 412a39d Author: Jeffrey Chang <jeff...@stiteq.com> Authored: Fri Jan 29 21:13:59 2016 +0800 Committer: riknoll <richard.b.kn...@gmail.com> Committed: Mon Feb 8 17:20:49 2016 -0800 ---------------------------------------------------------------------- src/android/AudioHandler.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/597e998d/src/android/AudioHandler.java ---------------------------------------------------------------------- diff --git a/src/android/AudioHandler.java b/src/android/AudioHandler.java index 3f93c37..2ff601d 100644 --- a/src/android/AudioHandler.java +++ b/src/android/AudioHandler.java @@ -100,7 +100,6 @@ public class AudioHandler extends CordovaPlugin { public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException { CordovaResourceApi resourceApi = webView.getResourceApi(); PluginResult.Status status = PluginResult.Status.OK; - messageChannel = callbackContext; String result = ""; if (action.equals("startRecordingAudio")) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org