diff options
author | Fabio Falsini <falsinsoft@gmail.com> | 2021-07-19 21:16:52 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-27 21:54:47 +0000 |
commit | b17d6b270178523cd1071cc2472c9d4b9789a567 (patch) | |
tree | 1dc90fd11ae453c9211981f87fcf1f7cc0f20b5d /LICENSE.GPL2 | |
parent | c9b5c7ff26618cb2e23c9805e724c32a1a01a238 (diff) |
Add Android service check on quit app
When quitApp() delegates the quit action to runAction(), this
function only checks if an activity exists. If the process is
a service, rather than an activity, it has no activity, so the
action is skipped and the service is not exited.
Check in runAction() for a service as well as an activity.
Change-Id: Iec6f0550064506a780892d3d840f7488fc894569
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 7d7f09d5561a6dec2cb20eb5b0956f11c942e2d8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'LICENSE.GPL2')
0 files changed, 0 insertions, 0 deletions