Skip to content

Commit

Permalink
Docs: update the QAndroidApplication::context() documentation
Browse files Browse the repository at this point in the history
The word "main" here is confusing. use "most recently started" instead.

Fixes: QTBUG-86203
Pick-to: 6.2 6.5 6.7
Change-Id: I3fd4e49204fac8a2f97cdfc57d5f7901fa7b96a6
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
  • Loading branch information
NickBennett1812 committed May 24, 2024
1 parent 0076999 commit 480940f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/platform/android/qandroidnativeinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 480940f

Please sign in to comment.