Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
When an Android app restarts or recreates the main Activity (i.e. QtActivity) currently that leads to the app getting frozen, probably it ends up in a state when it's using the old activity's resources or the wrong surface. Qt apps could start properly supporting this case instead getting frozen or simply restarting the app to get a fresh state of execution.
Some work related to this has been already done under QTBUG-38971, but that seems to have regressed and not working as really expected and even causing other issues. Also, the fix should ideally not regress on QTBUG-124786 either.
Attachments
Issue Links
- covers
-
QTBUG-38971 QtActivity did not call through to super.onConfigurationChanged() on orientation change (crash)
- Closed
- relates to
-
QTBUG-124786 [Android] NullPointerException at QtActivityDelegate.java:83
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-126279 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
567973,2 | WIP:Android: handle activity restart/recreation | dev | qt/qtbase | Status: DEFERRED | -2 | 0 |