Android: Fix the signature for setOnInfoListener.
The argument part of the signature should be OnInfoListener and not OnErrorListener. Change-Id: I735fe1b0338b66c2f729254ed9e3251136781cbe Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
a7b8872cd5
commit
03672d570d
@@ -75,7 +75,7 @@ JMediaRecorder::JMediaRecorder()
|
|||||||
"(Landroid/media/MediaRecorder$OnErrorListener;)V",
|
"(Landroid/media/MediaRecorder$OnErrorListener;)V",
|
||||||
listener.object());
|
listener.object());
|
||||||
m_mediaRecorder.callMethod<void>("setOnInfoListener",
|
m_mediaRecorder.callMethod<void>("setOnInfoListener",
|
||||||
"(Landroid/media/MediaRecorder$OnErrorListener;)V",
|
"(Landroid/media/MediaRecorder$OnInfoListener;)V",
|
||||||
listener.object());
|
listener.object());
|
||||||
g_objectMap.insert(m_id, this);
|
g_objectMap.insert(m_id, this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user