Android 8. QML+Quick Controls 2 app.
- Start app
- Go to recent apps list (by clicking rightmost Android button) and remove app
- Activity::onDestroyed is called, but process stays running
- Try launch app again
Result: black screen is shown. App can't be started according to the user's point of view. App reinstall / phone restart is required to start app again.
Workaround I've found:
In the code of activity use this: