Docs: update the QAndroidApplication::context() documentation

The word "main" here is confusing. use "most recently started" instead.

Fixes: QTBUG-86203
Pick-to: 6.5 6.2
Change-Id: I3fd4e49204fac8a2f97cdfc57d5f7901fa7b96a6
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 480940f0aa73922461a0ab51820b584a8e441e17)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Nicholas Bennett 2024-05-22 06:53:31 +03:00 committed by Qt Cherry-pick Bot
parent 11b0bd1bc7
commit d0aeeed49d

View File

@ -49,7 +49,7 @@ QT_DEFINE_NATIVE_INTERFACE(QAndroidApplication);
\fn QJniObject QNativeInterface::QAndroidApplication::context()
Returns the Android context as a \c QJniObject. The context is an \c Activity
if the main activity object is valid. Otherwise, the context is a \c Service.
if the most recently started activity object is valid. Otherwise, the context is a \c Service.
\since 6.2
*/