aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-11-19 03:02:46 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-11-19 03:02:46 +0100
commit3835ecd74e25bb250a919306b523424f735c64ea (patch)
tree4c93990977bf2d2abf7b735bf98116354c909714
parent6f46cf89242b25726f6ff789c479631d96d82470 (diff)
parent68840e4bfbb9c51944e29e460fbb9734be835892 (diff)
Merge remote-tracking branch 'origin/5.15' into devwip/cmake
-rw-r--r--src/androidextras/android/qandroidfunctions.cpp7
-rw-r--r--src/androidextras/doc/QtAndroidExtras/jni.h3
2 files changed, 5 insertions, 5 deletions
diff --git a/src/androidextras/android/qandroidfunctions.cpp b/src/androidextras/android/qandroidfunctions.cpp
index 1d1aa44..8d049fc 100644
--- a/src/androidextras/android/qandroidfunctions.cpp
+++ b/src/androidextras/android/qandroidfunctions.cpp
@@ -205,11 +205,8 @@ void QtAndroid::startActivity(const QAndroidIntent &intent,
/*!
\since 5.13
- Starts the activity given by \a intent using \c startActivityForResult() and provides the result by calling callbackFunc.
-
- The \a receiverRequestCode is a request code unique to the \a resultReceiver, and will be
- returned along with the result, making it possible to use the same receiver for more than
- one intent.
+ Starts the activity given by \a intent, using the request code \a receiverRequestCode,
+ and provides the result by calling \a callbackFunc.
*/
void QtAndroid::startActivity(const QAndroidJniObject &intent,
int receiverRequestCode,
diff --git a/src/androidextras/doc/QtAndroidExtras/jni.h b/src/androidextras/doc/QtAndroidExtras/jni.h
index 01dbf0e..9013345 100644
--- a/src/androidextras/doc/QtAndroidExtras/jni.h
+++ b/src/androidextras/doc/QtAndroidExtras/jni.h
@@ -43,7 +43,10 @@
#define JNI_H
struct JNIEnv_;
+struct JavaVM_;
typedef JNIEnv_ JNIEnv;
+typedef JavaVM_ JavaVM;
typedef int jclass;
+typedef char jobject;
#endif