summaryrefslogtreecommitdiffstats
path: root/src/androidextras/android/qandroidintent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/androidextras/android/qandroidintent.cpp')
-rw-r--r--src/androidextras/android/qandroidintent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/androidextras/android/qandroidintent.cpp b/src/androidextras/android/qandroidintent.cpp
index fff6e9c..ee6accf 100644
--- a/src/androidextras/android/qandroidintent.cpp
+++ b/src/androidextras/android/qandroidintent.cpp
@@ -112,7 +112,7 @@ void QAndroidIntent::putExtra(const QString &key, const QByteArray &data)
QAndroidJniEnvironment env;
jbyteArray array = env->NewByteArray(data.size());
env->SetByteArrayRegion(array, 0, data.length(), reinterpret_cast<const jbyte*>(data.constData()));
- m_handle.callMethod<void>("putExtra", "(Ljava/lang/String;[B)Landroid/content/Intent;",
+ m_handle.callObjectMethod("putExtra", "(Ljava/lang/String;[B)Landroid/content/Intent;",
QAndroidJniObject::fromString(key).object(), array);
env->DeleteLocalRef(array);
}