Android: Fix the signature for setOnInfoListener.
authorChristian Strømme <christian.stromme@digia.com>
Wed, 9 Apr 2014 13:15:03 +0000 (15:15 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 9 Apr 2014 14:13:38 +0000 (16:13 +0200)
The argument part of the signature should be OnInfoListener and not
OnErrorListener.

Change-Id: I735fe1b0338b66c2f729254ed9e3251136781cbe
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/plugins/android/src/wrappers/jmediarecorder.cpp

index 675bc5d..81d5c11 100644 (file)
@@ -75,7 +75,7 @@ JMediaRecorder::JMediaRecorder()
                                          "(Landroid/media/MediaRecorder$OnErrorListener;)V",
                                          listener.object());
         m_mediaRecorder.callMethod<void>("setOnInfoListener",
-                                         "(Landroid/media/MediaRecorder$OnErrorListener;)V",
+                                         "(Landroid/media/MediaRecorder$OnInfoListener;)V",
                                          listener.object());
         g_objectMap.insert(m_id, this);
     }